This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In test include-0101, the file include-0101.xsl contains an xsl:import and then an xsl:include. The xsl:import imports a file with <xsl:output method="xml" /> and the xsl:include includes a file with <xsl:output method="html" />. Since the included file has higher import precedence (it sits at the highest stylesheet module level), the output method to be expected is "html". Currently, the expected output is: <body changed="8 Feb 2002" var="E">Text of one-tagText of two-tag<br/></body> This is either XML or XHTML output, but not HTML output (which should have "<br>" instead).
The test uses assert-xml, which is defined as a comparison of the result tree, not of its serialized form. <p> Asserts the result of the query by providing a serialization of the expression result using the default serialization parameters method="xml" indent="no" omit-xml-declaration="yes".</p> The serialization parameters in the stylesheet have no bearing on the results of assertions other than, e.g. assert-serialization-matches.
Oh, ok, in that case, I think I should change the assertion to assert the actual serialization, because otherwise, we cannot assess the part of the test that checks the xsl:output import precedence rules.
According to the test metadata, this was fixed on 2014-11-14
Was resolved > 30 days ago, closing.