W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2001

RE: RDF and xml:base

From: Ron Daniel <rdaniel@interwoven.com>
Date: Tue, 29 May 2001 08:26:20 -0700
To: "Lee Jonas" <lee.jonas@cakehouse.co.uk>, "'Graham Klyne'" <GK@ninebynine.org>
Cc: "RDF Interest" <www-rdf-interest@w3.org>
Message-ID: <EMEKICCGFEKJFGKMFLEPCEJACKAA.rdaniel@interwoven.com>
Lee said:

> I took rdf:ID to have the equivalent semantics as an XML 
> attribute of type 'ID'.  If this is the case, then xml:base won't 
> affect the absolute URI-reference for the RDFresource defined - 
> AFAIK, '#fragid' is always a fragment within the current 
> document, regardless of the base URI.

Hi,

According to the XPointer drafts, which will set the fragment identifier
syntax for XML documents, #fragid does not always refer to the current
document. It is a relative URI reference, and is converted to an absolute
identifier according to the rules of RFC 2396. Those rules say that
the first thing to check for is a base URI embedded in the document's
content. The xml:base attribute came out of the XML Linking WG (which is
the group also doing the XPointer spec) in order to provide just that
functionality. If no base URI exists in the document, then we assume
the base is that of the current document (encapsulating entity, to
be pedantic).

Ron Daniel
co-editor of XPointer



Received on Tuesday, 29 May 2001 11:27:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:49 GMT