W3C home > Mailing lists > Public > public-prov-wg@w3.org > March 2013

Changes to PROV-Dictionary XML schema

From: Tom De Nies <tom.denies@ugent.be>
Date: Thu, 28 Mar 2013 17:56:12 +0100
Message-ID: <CA+=hbbegbzaGxKBoPY-9WRp9x4M=qZu++JPyVwXKT+_BbgN1Yw@mail.gmail.com>
To: Stephan Zednik <zednis@rpi.edu>
Cc: Provenance Working Group <public-prov-wg@w3.org>
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

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