Changes to PROV-Dictionary XML schema

Hi Stephan,

FYI, I've made some changes to the dictionary schema, regarding the name
change from KeyValuePair to KeyEntityPair.

I've also implemented your suggestions regarding attributes and ids (as
they weren't pushed yet):

    <!-- Insertion -->
    <xs:complexType name="Insertion">
      <xs:sequence>
        <xs:element name="newDictionary" type="prov:IDRef"/>
        <xs:element name="oldDictionary" type="prov:IDRef"/>
        <xs:element name="keyEntityPair" type="prov:KeyEntityPair"
maxOccurs="unbounded"/>
    <!-- prov attributes -->
    <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
    <xs:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
      </xs:sequence>
    <xs:attribute ref="prov:id"/>
    </xs:complexType>

    <xs:element name="derivedByInsertionFrom" type="prov:Insertion"
substitutionGroup="prov:internalElement"/>

    <!-- Removal -->
    <xs:complexType name="Removal">
      <xs:sequence>
        <xs:element name="newDictionary" type="prov:IDRef"/>
        <xs:element name="oldDictionary" type="prov:IDRef"/>
        <xs:element name="key" type="xs:anySimpleType"
maxOccurs="unbounded" />
      <!-- prov attributes -->
    <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
    <xs:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
      </xs:sequence>
    <xs:attribute ref="prov:id"/>
    </xs:complexType>


Regards,
Tom

Received on Thursday, 28 March 2013 16:56:41 UTC