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

Re: PROV-ISSUE-553: QNames are too restrictive as identifiers [XML Serialization]

From: Luc Moreau <l.moreau@ecs.soton.ac.uk>
Date: Tue, 29 Jan 2013 14:06:09 +0000
Message-ID: <EMEW3|102ab20ea8cd047ab7532205f294aed8p0SE6F08l.moreau|ecs.soton.ac.uk|5107D751.2060506@ecs.soton.ac.uk>
To: public-prov-wg@w3.org
Hi Stephan,

If we didn't require the xml validator to check a prefix is properly 
declared, then
we could define a grammar for qualified names.
But if we require the xml validator to check the validity of a prefix, 
then, I agree
with your analysis.

Luc

On 24/01/2013 18:43, Stephan Zednik wrote:
> I have updated the wiki page on XML Identifiers
>
> http://www.w3.org/2011/prov/wiki/Prov-XML_Identifiers
>
> with additional advantages and disadvantages on using QName and anyURI
>
> I have also added my personal opinion on the options in the Analysis section.
>
> --Stephan
>
> On Nov 20, 2012, at 1:28 PM, James Cheney<jcheney@inf.ed.ac.uk>  wrote:
>
>    
>> Hi,
>>
>> At the last face-to-face meeting I agreed to check with Henry Thompson about this.  I thought there was a tracked action about this but there doesn't seem to be.  In any case, I asked Henry and he said he'd try to look at it this week.
>>
>> --James
>>
>> On Sep 13, 2012, at 3:12 PM, Provenance Working Group Issue Tracker wrote:
>>
>>      
>>> PROV-ISSUE-553: QNames are too restrictive as identifiers [XML Serialization]
>>>
>>> http://www.w3.org/2011/prov/track/issues/553
>>>
>>> Raised by: Luc Moreau
>>> On product: XML Serialization
>>>
>>>
>>> The current schema uses xsd:QName for identifiers.
>>>
>>> As a result, the following identifier is not allowed:
>>>
>>>        <prov:activity prov:id="pc1:00000p1">
>>>            <prov:label>align_warp 1</prov:label>
>>>        </prov:activity>
>>>
>>> An xml schema  validator would complain with:
>>>
>>> 'pc1:00000p1' is not a valid value for 'QName'
>>>
>>>
>>> Solution: allow for prov:QualifiedName (as defined in prov-n).
>>>
>>> Luc
>>>
>>>
>>>
>>>
>>>        
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>
>>
>>      
>
>    

-- 
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 Tuesday, 29 January 2013 14:06:43 UTC

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