- From: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
- Date: Thu, 28 Feb 2013 16:29:09 +0000
- To: Stephan Zednik <zednis@rpi.edu>
- Cc: Luc Moreau <l.moreau@ecs.soton.ac.uk>, W3C provenance WG <public-prov-wg@w3.org>
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 16:29:57 UTC