W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2006

[Bug 3417] [XSLT] Base URI of a copied element

From: <bugzilla@wiggum.w3.org>
Date: Sat, 01 Jul 2006 20:13:49 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Fwlqf-0005D8-6L@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3417





------- Comment #1 from mike@saxonica.com  2006-07-01 20:13 -------
Note that test case baseuri20_044_01 applies here. The stylesheet does:

<xsl:variable name="elemcopy" as="element()">
        <xsl:copy-of select="/doc/str1" />
</xsl:variable>

where the copied element has xml:base="/xml/". The expected results (which are
correct according to the spec as currently written) expects the str1 element to
have a base URI of http://www.xmlexample.ibm/xml/ - that is, the result of
resolving xml:base against the base URI of its original parent node.

(Also note comment 2 in bug #3415 concerning percent-encoding of base URIs.)
Received on Saturday, 1 July 2006 20:14:07 UTC

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