W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 2002

RE: rdf:nodeID and external entities?

From: Joshua Allen <joshuaa@microsoft.com>
Date: Sun, 15 Dec 2002 00:17:10 -0800
Message-ID: <4F4182C71C1FDD4BA0937A7EB7B8B4C10729092D@red-msg-08.redmond.corp.microsoft.com>
To: "Brian McBride" <bwm@hplb.hpl.hp.com>, "Dave Beckett" <dave.beckett@bristol.ac.uk>
Cc: "www-rdf-comments" <www-rdf-comments@w3.org>

> >Isn't BaseUri a way of scoping something by file?
> 
> I may be misunderstanding the term.  Does xml:base change the BaseUri?

Yes, xml:base is used to assign a BaseUri to a document or portion of a
document.  BaseUri by default will be assigned to the document or
included fragment based on the file location -- I see xml:base as a
convenient lexical hint that can be used to ensure that BaseUri is not
lost when serializing or transferring an infoset which includes XML from
multiple sources.

> a node in a graph.  The question I think you are addressing is whether
one
> can be sure its the same node in the same graph across two different
> parsings of the same file, and I agree with you in general, one
cannot.

Yes, you said it much better than me.  That is exactly what the rest of
my e-mail was struggling to say.  

Since one should not assume that two anonymous nodes are the "same" node
(when parsing), I feel that it is of minor consequence whether someone
thinks of the nodeID value (used to locally identify an anonymous node
during parsing) as URI or as an integer constant.

Hopefully I will not muddle things again by using an example -- suppose
that the RDF spec required nodeID to be URIs of the form:

http://www.w3.org/RDF/literals/1
http://www.w3.org/RDF/literals/2
http://www.w3.org/RDF/literals/3

It wouldn't really change anything.  The spec would have to anyway
explain that the values used in nodeID property are not global or
universal in scope.

Regards,
Joshua
Received on Sunday, 15 December 2002 03:17:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:31 GMT