Re: Multiple XML schema files for a common target namespace (PROV-ISSUE-608)

Hi Stephan,

Response below.
On 02/13/2013 12:06 AM, Stephan Zednik wrote:
> On Feb 12, 2013, at 4:59 PM, Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk> wrote:
>
>> On Tue, Feb 12, 2013 at 8:57 PM, Stephan Zednik <zednis@rpi.edu> wrote:
>>
>>> 1) rename prov:abstractElement to prov:internalElement (or similar) to make it clear we do not expect non-PROV extensions to use this element.
>> +1  (I'm in favour of keeping the abstract element for internal PROV
>> extensions rather than my suggested additional xs:any)
>>
>>
>>> 2) add processContents="lax" on all xs:any elements.
>> +1
>>
>>
>>> 3) change the definition of prov:Bundle to the following (bundleElements name is not final)
>> 0 - I'm rather in favour of Luc's proposal later in this thread to
>> separate the bundle entity from the bundle constructor. I would prefer
>> <bundleDescriptions> rather than <bundleConstructor> as the children
>> of this element would be the provenance descriptions - matching DM
>> "descriptions: a set of provenance descriptions".
>> <somethingConstructor> reads odd in XML, I've only seen something
>> similar in Spring configuration of java beans, where a class
>> constructor is to be programmatically called.
> I am leaning this way now.  I still think the previous mechanism is better in XML, but separating bundle entities from bundle constructors creates fewer problems with PROV-N-originating requirements.
>
> I also like prov:bundleDescriptions more than prov:bundleConstructor.

In section 5.4.2, 
http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-bundle-entity, you 
will see the sentence:

A bundle description is of the form entity(id, [ 
prov:type='prov:Bundle', attr1=val1, ...] )

I therefore think it would be very confusing to use the term 
bundleDescriptions to refer to the constructor of section 5.4.1

Luc

>
> Luc, is this name in PROV-XML satisfactory to you?
>
> --Stephan
>
>>
>> -- 
>> Stian Soiland-Reyes, myGrid team
>> School of Computer Science
>> The University of Manchester
>>
>>
>

-- 
Professor Luc Moreau
Electronics and Computer Science   tel:   +44 23 8059 4487
University of Southampton          fax:   +44 23 8059 2865
Southampton SO17 1BJ               email: l.moreau@ecs.soton.ac.uk
United Kingdom                     http://www.ecs.soton.ac.uk/~lavm

Received on Wednesday, 13 February 2013 08:20:02 UTC