- From: Stephan Zednik <zednis@rpi.edu>
- Date: Mon, 27 Aug 2012 11:16:58 -0600
- To: Provenance Working Group <public-prov-wg@w3.org>
I have updated the Entity complexType in prov.xsd as follows <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> Examples using prov:value now validate against the schema. I will commit the updated schema to mercurial and close out this ticket. --Stephan On Aug 20, 2012, at 12:02 AM, Provenance Working Group Issue Tracker <sysbot+tracker@w3.org> wrote: > 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, 27 August 2012 17:17:26 UTC