Re: Changes to PROV-Dictionary XML schema

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