[Bug 20027] New: [XT3TS] avt-0701

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20027

          Priority: P2
            Bug ID: 20027
          Assignee: abel.online@xs4all.nl
           Summary: [XT3TS] avt-0701
        QA Contact: public-qt-comments@w3.org
          Severity: normal
    Classification: Unclassified
                OS: Windows NT
          Reporter: tim@cbcl.co.uk
          Hardware: PC
            Status: NEW
           Version: Working drafts
         Component: XSLT 3.0 Test Suite
           Product: XPath / XQuery / XSLT

This test has the following assertions.

         <all-of>
            <assert-xml><![CDATA[<out>Printing.</out>]]></assert-xml>
            <assert-message>
               <assert-xml><![CDATA[AVT with value 'no' in @terminate of
xsl:message]]></assert-xml>
            </assert-message>
            <assert-message>
               <assert-xml><![CDATA[AVT with value 'no' in @terminate of
xsl:message]]></assert-xml>
            </assert-message>
         </all-of>

The actual XML produced contains a whitespace text node before the <out> start
tag.  

If we assume that assert-xml requires a valid XML document, then this
whitespace will be discarded by canonicalization.  However, that means that the
<assert-xml> for the messages cannot be correct - they contain only text.

If we assume that assert-xml can handle fragments, then the expected first
assert-xml should include the whitespace, and we have to use a canonicalizer
which can handle fragments (not defined by the XML Canonicalization 1.0 spec).

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

Received on Tuesday, 20 November 2012 17:01:38 UTC