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

Re: Changes to PROV-Dictionary XML schema

From: Stephan Zednik <zednis@rpi.edu>
Date: Thu, 28 Mar 2013 12:04:46 -0600
Cc: Provenance Working Group <public-prov-wg@w3.org>
Message-Id: <89918AA2-C63B-464B-A2EB-33643F22028E@rpi.edu>
To: Tom De Nies <tom.denies@ugent.be>
I have updated the PROV-Dictionary XML examples

https://dvcs.w3.org/hg/prov/rev/533399e45425

--Stephan

On Mar 28, 2013, at 12:00 PM, Stephan Zednik <zednis@rpi.edu> wrote:

> Thanks.
> 
> I will update the examples in eg-44-xml-dict to reflect the name change from keyValuePair to keyEntityPair
> 
> --Stephan
> 
> On Mar 28, 2013, at 10:56 AM, Tom De Nies <tom.denies@ugent.be> wrote:
> 
>> 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 18:04:54 UTC

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