ISSUE-551: Flatten XML Schema removing records and/or dependencies?
Flatten XML Schema removing records and/or dependencies?
- State:
- CLOSED
- Product:
- XML Serialization
- Raised by:
- Curt Tilmes
- Opened on:
- 2012-09-12
- Description:
- 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.
- Related Actions Items:
- No related actions
- Related emails:
- Re: XML Schema Updates (from Curt.Tilmes@nasa.gov on 2012-09-20)
- Re: PROV-ISSUE-547: prov:records requires a specific order of elements [XML Serialization] (from hook.hua@jpl.nasa.gov on 2012-09-13)
- Re: prov-wg Telcon Agenda September 13, 2012 (from Curt.Tilmes@nasa.gov on 2012-09-12)
- Re: PROV-ISSUE-551: Flatten XML Schema removing records and/or dependencies? [XML Serialization] (from l.moreau@ecs.soton.ac.uk on 2012-09-12)
- Re: PROV-ISSUE-551: Flatten XML Schema removing records and/or dependencies? [XML Serialization] (from Curt.Tilmes@nasa.gov on 2012-09-12)
- PROV-ISSUE-551: Flatten XML Schema removing records and/or dependencies? [XML Serialization] (from sysbot+tracker@w3.org on 2012-09-12)
Related notes:
Made the changes in the schema:
http://dvcs.w3.org/hg/prov/rev/b88f0f02344f
Display change log