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 29947 - [QT3TS] fn-transform-67
Summary: [QT3TS] fn-transform-67
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 13:33 UTC by Tim Mills
Modified: 2016-10-20 10:35 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-10-19 13:33:08 UTC
I think the expected result is wrong for fn-transform-67.  The namespace attributes have been omitted in the assertion.  The output of the transformation should be

<out xmlns:my="http://www.w3.org/fots/fn/transform/myfunctions" xmlns:xs="http://www.w3.org/2001/XMLSchema">a(hyphen)b(star)c</out>

The simplest fix would be to change

<assert><![CDATA[contains($result("output"), "<out>a(hyphen)b(star)c</out>")]]></assert>

to

<assert><![CDATA[contains($result("output"), ">a(hyphen)b(star)c</out>")]]></assert>
Comment 1 Michael Kay 2016-10-19 19:39:41 UTC
I found this independently and fixed it.
Comment 2 Tim Mills 2016-10-20 10:35:09 UTC
Confirmed fixed.  Thanks.