Re: Canonicalization xml:base processing

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

-- 
Konrad Lanz, IAIK/SIC - Graz University of Technology
Inffeldgasse 16a, 8010 Graz, Austria
Tel: +43 316 873 5547
Fax: +43 316 873 5520
https://www.iaik.tugraz.at/aboutus/people/lanz
http://jce.iaik.tugraz.at

Certificate chain (including the EuroPKI root certificate):
https://europki.iaik.at/ca/europki-at/cert_download.htm

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