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 29621 - [XQ3TS] fn-deep-equal-arrays-13
Summary: [XQ3TS] fn-deep-equal-arrays-13
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-05-09 15:10 UTC by Tim Mills
Modified: 2016-06-14 14:53 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-05-09 15:10:47 UTC
The collation used in 

fn:deep-equal([['a', 'b', 'c']], [['A', 'B', 'C']], 
               'http://www.w3.org/2013/collation/UCA?strength=secondary')

may not be supported by the implementation, or may not fall back to an appropriate collation for this test.

I suggest using the "traditional" test suite case-insensitive collation here.
Comment 1 Michael Kay 2016-05-09 15:39:39 UTC
In bug #29308 we introduced the dependency simple-uca-fallback to indicate that the test uses a UCA collation and expected that if there was a fallback, then it obeyed some basic hygiene rules. I propose adding this dependency, and adding to the documentation for simple-uca-fallback the fact that the parameter level=secondary is recognized as giving a case-blind comparison for ASCII letters.

(We should also perhaps replace the "traditional" case-blind collation with this mechanism.)
Comment 2 Michael Kay 2016-06-14 14:47:21 UTC
In the absence of any objections, I have fixed the bug as proposed. Please reopen if not acceptable.
Comment 3 Tim Mills 2016-06-14 14:53:04 UTC
Thanks.