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

Re: [XSLT 2.0] xml:base interaction

From: Michael Kay <mhk@mhk.me.uk>
Date: Fri, 28 May 2004 13:25:08 +0100
To: <public-qt-comments@w3.org>
Cc: <jim.fuller@ruminate.co.uk>
Message-Id: <20040528122540.D6832A29ED@frink.w3.org>

Jim, you commented at 

http://lists.w3.org/Archives/Public/public-qt-comments/2004Mar/0012.html

that you thought the XSLT 2.0 specification was "a bit vague" in its
handling of xml:base.

The WG looked at this comment yesterday evening and had trouble identifying
any problem in this area.

Relative URIs in xsl:include, xsl:import, document(), etc are resolved
relative to the base URI of the element on which they appear. I think the
spec says this clearly. It also, in relevant places, points to the Data
Model document for a description of the base URI property of a node. The
Data Model document explains how the xml:base attribute affects the base URI
of a node: not directly, but implicitly by reference to the InfoSet and XML
Base specifications.

The description of xs:result-document in 19.1 similarly explains that the
href attribute of this instruction is *not* resolved relative to the base
URI of this instruction, but relative to the "base output URI", which is a
value supplied by the caller when a transformation is fired off.

I appreciate that it may be difficult to follow all the threads at times,
but our job is to specify things unambiguously, not to write a tutorial. If
you feel there are any particular ambiguities in the document, we would be
grateful if you could point them out. Otherwise we will close the comment
with no action.

Regards,

Michael Kay
for the XSL WG 

our ref: qt-2004Mar0012-01
Received on Friday, 28 May 2004 08:25:40 UTC

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