W3C home > Mailing lists > Public > public-prov-wg@w3.org > September 2012

PROV-ISSUE-547: prov:records requires a specific order of elements [XML Serialization]

From: Provenance Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 10 Sep 2012 14:53:00 +0000
Message-Id: <E1TB5MC-00004u-83@tibor.w3.org>
To: public-prov-wg@w3.org
PROV-ISSUE-547: prov:records requires a specific order of elements [XML Serialization]

http://www.w3.org/2011/prov/track/issues/547

Raised by: Curt Tilmes
On product: XML Serialization

Right now, the schema records element:
http://dvcs.w3.org/hg/prov/raw-file/7b321dfba2c1/xml/prov.xsd.html#element_records

requires a specific sequence of elements, in order: 
activities, entities, agents, dependencies.

It would be less restrictive to allow, for example, entities to be specified prior to activities (as in some of the examples).

I propose to wrap the "activity", "entity" and "agent" elements with an xs:choice allowing any number of any of them to be specified in any order.

(I'm actually fine with requiring dependencies to follow those elements).

We can explain this ordering of elements clearly in the verbiage in the tech note.
Received on Monday, 10 September 2012 14:53:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 September 2012 14:53:05 GMT