Re: review of prov-xml

Thanks  Stian.
My preference would be to avoid these since in provdm the prefix should denote a uri.
Luc

Professor Luc Moreau
Electronics and Computer Science
University of Southampton
Southampton SO17 1BJ
United Kingdom


On 28 Feb 2013, at 16:29, "Stian Soiland-Reyes" <soiland-reyes@cs.manchester.ac.uk> wrote:

> On Wed, Feb 27, 2013 at 8:44 AM, Stephan Zednik <zednis@rpi.edu> wrote:
> 
>>> I don't understand how they validate. For instance, example 23: line-management example has no prefix, but no default prefix defined.
>>> I now realise prov:ref="a" suffers from the same problem. This occurs in several examples.
> 
>> I do not at this time know why a QName with only a local part and no defined default namespace currently validates.
> 
> This is a perfectly valid qname, it's just the empty local namespace.
> 
> Ie:
> 
> <ex:a xmlns:ex="http://example.com/">
>  <b>fred</b>
> </ex:a>
> 
> is equivalent to
> 
> <a xmlns="http://example.com/">
>  <b xmlns="">fred</b>
> </a>
> 
> 
> Here the two qnames expand to {http://example.com/}a and {}b
> 
> 
> Now I don't know what that would mean in PROV-DM sense for the identifier.
> 
> The XML namespaces are not meant to be relative URIs, so it's not the
> same as say <> in Turtle.

Received on Thursday, 28 February 2013 17:28:56 UTC