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

Re: PROV-ISSUE-664: Use choice instead of sequence in document/bundle constructor

From: Stephan Zednik <zednis2@rpi.edu>
Date: Tue, 16 Apr 2013 19:06:44 -0600
Message-Id: <3918B5B2-03B1-412E-A960-39252F9B580E@rpi.edu>
To: Provenance Working Group <public-prov-wg@w3.org>
I think this is fine and I do not think it will cause new issues for the generated jaxb classes.  The generated classes still have references to JAXBElement.class and I don't think using choice or sequence will negatively affect our FAQ entry's proposed solutions.

I made the change and verified that the current example XML documents all validate.

changeset: https://dvcs.w3.org/hg/prov/rev/6e36dbad50d5

See editor's draft (https://dvcs.w3.org/hg/prov/raw-file/tip/xml/schema/prov-core.xsd) for the updated schema.  No changes were required for prov.xsd or any extension schemas.

--Stephan

On Apr 16, 2013, at 6:52 PM, "Provenance Working Group Issue Tracker" <sysbot+tracker@w3.org> wrote:

> PROV-ISSUE-664: Use choice instead of sequence in document/bundle constructor
> 
> http://www.w3.org/2011/prov/track/issues/664
> 
> Raised by: Stephan Zednik
> On product: 
> 
>> From Luc's internal feedback on PROV-XML WG Note:
> 
> A while back, you rightly made the case that elements within a
> bundle/document should not be ordered.  However, recently, you
> reintroduced a sequence here (probably when trying to fix the jaxb
> issue). I don't think it should stay, and it should be reverted back
> to a choice: I think the generated jaxb will still be ok.
> 
> 
> 
> 
Received on Wednesday, 17 April 2013 01:07:11 UTC

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