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 29779 - [QT3TS] fn-sort-collation-1 and others
Summary: [QT3TS] fn-sort-collation-1 and others
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-08-18 15:20 UTC by Tim Mills
Modified: 2016-08-19 13:45 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-08-18 15:20:42 UTC
The tests

 fn-sort-collation-1 	
 fn-sort-collation-2 	
 fn-sort-collation-3 	
 fn-sort-collation-4 	
 fn-sort-collation-5 	
 fn-sort-collation-8 	

use the HTML ASCII Case-Insensitive Collation for sorting.

The spec says:

"HTML5 defines the semantics of equality matching using this collation; it does not define rules for ordering. If the collation is used for ordering, the results are ·implementation-defined·. The collation supports collation units and can therefore be used with functions such as fn:contains; each Unicode codepoint is a single collation unit."

i.e. the results are implementation defined.
Comment 1 Michael Kay 2016-08-18 16:01:49 UTC
OK, I'll switch it to

"http://www.w3.org/2010/09/qt-fots-catalog/collation/caseblind"
Comment 2 Tim Mills 2016-08-18 16:14:39 UTC
Thanks.

There is a similar problem with array:sort tests (which also need to reference environment "array").
Comment 3 Michael Kay 2016-08-18 16:19:20 UTC
Fixed as suggested.
Comment 4 Tim Mills 2016-08-19 13:45:49 UTC
Thanks.  Confirmed fixed.