W3C home > Mailing lists > Public > www-rdf-comments@w3.org > April to June 2003

xml:base irrelevant to same document reference

From: James Clark <jjc@jclark.com>
Date: Sun, 15 Jun 2003 08:50:49 +0700
Message-ID: <3EEBD0F9.3000701@jclark.com>
To: www-rdf-comments@w3.org

Section 2.14 of the syntax spec says that xml:base is used in resolving 
a URI reference such as "#snack".  I believe this in violation of RFC 
2396. A URI reference such as "#snack" is not in fact a relative URI 
reference (see the BNF in section 11 of RFC 2396); rather it is a "same 
document reference". See RFC 2396 section 4.2. This says that a URI 
reference containing only a fragment identifier is a reference to the 
identified fragment of the *current* document (i.e. the document in 
which the fragment identifier occurs). I believe that for consistency 
with RFC 2396 xml:base should not apply to same document references, and 
also should not apply to rdf:ID.  It seems totally bizarre to me that 
xml:base should apply to rdf:ID when rdf:ID is not a relative URI.  It 
also seems bizarre that rdf:ID should define a fragment identifier in a 
resource other than the one in which it occurs: surely a resource only 
gets to define its own fragment identifiers.

Received on Saturday, 14 June 2003 21:51:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:20 UTC