W3C home > Mailing lists > Public > public-esw@w3.org > February 2004

Re: Weblog article on rdf:nodeID - possible error

From: Graham Klyne <gk@ninebynine.org>
Date: Thu, 19 Feb 2004 19:12:17 +0000
Message-Id: <5.1.0.14.2.20040219190713.02bf4e90@127.0.0.1>
To: "Miles, AJ (Alistair) " <A.J.Miles@rl.ac.uk>, "'public-esw@w3.org'" <public-esw@w3.org>

Hi,

There's a subtle distinction between id= and explicit formation of a URIO 
from a namespace and local name.

In the former case, the URI formation rules are used (ala RFC2396, etc.), 
but in the latter case its simple concatenation.  That's what the W3C 
validator is doing, and that's what seems to be called for by the RDF 
syntax spec (e.g. section 2.14 ... I need to locate more details, but no 
time right now).

#g
--

At 17:10 19/02/04 +0000, Miles, AJ (Alistair) wrote:

>Hi,
>
>Was just reading the weblog article on the rdf:nodeID attribute
><http://esw.w3.org/mt/esw/archives/000034.html>.  I read this bit :
>
>--------------------------------------------------------------
><rdf:Description rdf:ID="me">
>  <foaf:name>Dan Brickley</foaf:Name>
></rdf:Description>
>
>...if parsed with a base URI of http://example.com/foaf/test1.rdf ...will
>generate a single triple:
>
>http://example.com/foaf/test1.rdf http://xmlns.com/foaf/0.1/name "Dan
>Brickley"
>--------------------------------------------------------------
>
>Shouldn't the subject of the triple be :
>
>http://example.com/foaf/test1.rdf#me
>
>?
>
>Al.

------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact
Received on Thursday, 19 February 2004 14:56:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:12 GMT