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

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