[Bug 27066] New: [XT30] Test Include0101 expects incorrect import order

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 27066] New: [XT30] Test Include0101 expects incorrect import order

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27066

            Bug ID: 27066
           Summary: [XT30] Test Include0101 expects incorrect import order
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

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).

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 27066] [XT30] Test Include0101 expects incorrect import order

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27066

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Michael Kay <[hidden email]> ---
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.

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 27066] [XT30] Test Include0101 expects incorrect import order

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27066

--- Comment #2 from Abel Braaksma <[hidden email]> ---
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.

--
You are receiving this mail because:
You are the QA Contact for the bug.