This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20027 - [XT3TS] avt-0701
Summary: [XT3TS] avt-0701
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2012-11-20 17:01 UTC by Tim Mills
Modified: 2012-12-13 10:47 UTC (History)
1 user (show)

See Also:


Description Tim Mills 2012-11-20 17:01:28 UTC
This test has the following assertions.

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

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).
Comment 1 Michael Kay 2012-12-11 22:29:49 UTC
I have removed the whitespace, which is not germane to the purpose of the test.

Also cleaned up whitespace issues in avt-0601.
Comment 2 Tim Mills 2012-12-13 10:47:19 UTC
Confirmed fixed.  Thanks.