W3C home > Mailing lists > Public > public-prov-wg@w3.org > August 2012

PROV-ISSUE-481: PROV-XSD Entity complexType does not support prov:value child element [XML Serialization]

From: Provenance Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 20 Aug 2012 06:02:11 +0000
Message-Id: <E1T3L3z-0007fj-S4@tibor.w3.org>
To: public-prov-wg@w3.org
PROV-ISSUE-481: PROV-XSD Entity complexType does not support prov:value child element [XML Serialization]

http://www.w3.org/2011/prov/track/issues/481

Raised by: Stephan Zednik
On product: XML Serialization

The Entity complexType does not support a prov:value child element.

  <xs:element name="entity" type="prov:Entity"/>
  <xs:complexType name="Entity">
    <xs:sequence>
      <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> 
      <xs:element ref="prov:type"  minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="prov:location"  minOccurs="0" maxOccurs="unbounded"/>
 
      <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute ref="prov:id"/>
  </xs:complexType>  

should be updated to

  <xs:element name="entity" type="prov:Entity"/>
  <xs:complexType name="Entity">
    <xs:sequence>
      <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> 
      <xs:element ref="prov:type"  minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="prov:location"  minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="prov:value" minOccurs="0" maxOccurs="1"/>

      <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute ref="prov:id"/>
  </xs:complexType>  
Received on Monday, 20 August 2012 06:02:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:51:19 UTC