PROV-ISSUE-551: Flatten XML Schema removing records and/or dependencies? [XML Serialization]

PROV-ISSUE-551: Flatten XML Schema removing records and/or dependencies? [XML Serialization]

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

Raised by: Curt Tilmes
On product: XML Serialization

I was looking at renaming Bundle->Document and NamedBundle->Bundle for PROV-ISSUE-549, and I wonder if it wouldn't simplify things to simply remove "records" and "dependencies".  They seem to be artificial organizational elements.  They make editing/maintaining the schema a bit cleaner, but at the cost of making the resulting XML more complicated.

I wonder if we shouldn't go the other way, make the schema itself a bit more complicated in order to make it easier to produce XML PROV documents in a more natural way?

I propose making the top level element always be a prov:Document, which
can hold any number of any of (entity,activity,agent,bundle and any of the dependency elements without the dependencies wrapper) in any order (also resolves PROV-ISSUE-547).

A prov:Bundle would also hold any of those with the exception of another bundle.

Received on Wednesday, 12 September 2012 13:15:01 UTC