This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
copy-1210 test case expected successful transformation result (not an error) (<assert>/out/rtf</assert>). At the same time in the test case "xsl:copy" instruction copies document node (context node) and tries to add namespace to it. It looks like template @match attribute should be updated to match "doc" instead of "/". <xsl:template match="/"> <xsl:variable name="var1"><rtf/></xsl:variable> <out> <xsl:copy on-empty="$var1"> <xsl:namespace name="n">http://example.com/nnnnnnn</xsl:namespace> </xsl:copy> </out> </xsl:template>
Fixed, see rev #765 in XT3 repository. Note that some tests were assuming that on-empty should be evaluated when content is an empty PI instruction or an empty comment, text or attribute node. This is not true, on-empty has no effect in such cases, xsl:copy works only on element nodes (and possibly document nodes depending on resolution of bug 27189).
Was resolved > 30 days ago, closing.