W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > May 2006

Re: Canonicalization xml:base processing

From: Konrad Lanz <Konrad.Lanz@iaik.tugraz.at>
Date: Tue, 30 May 2006 20:41:43 +0200
Message-ID: <447C91E7.5040907@iaik.tugraz.at>
To: Richard Tobin <richard@inf.ed.ac.uk>
Cc: "Grosso, Paul" <pgrosso@ptc.com>, public-xml-core-wg@w3.org
Richard Tobin wrote:
> [...]
> The question is not what the base URI is for resolving the xml:base
> attribute, but how the resolution is done.  If the xml:base attribute
> is interpreted as a relative URI even when it is the empty string,
> then it resolves to the containing document whatever the parent
> element's base URI is.
Relative URIs appearing in an XML document are always resolved relative 
to either an element, a document entity, or an external entity.
""" (see http://www.w3.org/TR/xmlbase/#resolution)


   Relative URI references are distinguished from absolute URI in that
   they do not begin with a scheme name.

""" see RFC 2396 section 3.1

I'd say the algorithm in RFC 2396 section 5.2 is applied to all URIs not 
starting with a scheme.


   This section describes an example algorithm for resolving URI
   references that might be relative to a given base URI.

""" see RFC 2396 section 5.2

And that's why I think it well may be only the question what the base 
URI is.

best regards

Konrad Lanz, IAIK/SIC - Graz University of Technology
Inffeldgasse 16a, 8010 Graz, Austria
Tel: +43 316 873 5547
Fax: +43 316 873 5520

Certificate chain (including the EuroPKI root certificate):

Received on Tuesday, 30 May 2006 18:42:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:36 UTC