W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2003

RE: TR/xquery-operators/#func-doc

From: Kian-Tat Lim <ktl@ktlim.com>
Date: Tue, 13 May 2003 06:53:25 -0700
To: public-qt-comments@w3.org
Message-Id: <4481135C-854A-11D7-A0B2-000393BA3F7C@ktlim.com>

Michael Kay wrote:

 > xml:base changes the meanings of relative URIs in a
 > document, including the meaning of the relative URI "".

This appears to be a misunderstanding of RFC2396,
section 5.2 "Resolving Relative References to Absolute
Form", which states:

 > 2. If the path component is empty and the scheme,
 > authority, and query components are undefined,
 > then [the URI reference] is a reference to the
 > current document and we are done.

This occurs without any reference to a base URI,
whether specified in the document using xml:base
or via any other method.  This specific example
is the first one in section C.2 of the RFC.

As Dave Pawson desires, the relative URI ""
should be guaranteed to refer to the current
document, regardless of any xml:base setting.

Kian-Tat Lim, ktl@ktlim.com, UTF-7: +Z5de+pBU-
Received on Tuesday, 13 May 2003 09:53:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:12 UTC