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 29308 - [QT3TS] Dependencies for UCA Collation tests
Summary: [QT3TS] Dependencies for UCA Collation tests
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: 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: 2015-11-26 23:48 UTC by Michael Kay
Modified: 2015-12-02 11:10 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2015-11-26 23:48:13 UTC
The tests in misc-UCACollation carry no dependency information other than a dependency on XP31/XQ31. The test results assume that UCA collation is available.

However:

(a) if fallback=no is specified, then the implementation has the option of failing with error FOCH0002

(b) if fallback is omitted or has the value yes, then the implementation must accept the collation URI but can (in effect) sort in any way it likes (this is the case that applies to most of the tests in this test set)

(c) if fallback is present with a value other than yes or no, the outcome is entirely implementation-defined.

I propose that

(a) we change most of the tests to use fallback=no and to have an alternative result of FOCH0002

(b) where we use fallback=yes, we either (i) allow the result to be in any order, or (ii) add a dependency "uca-close-fallback" with the meaning "when fallback=yes is specified in the UCA collation URI, the implementation falls back to a collation that gives the same result as the UCA collation in the common case where: the UCA collation uses only the parameters lang, strength=1|2|3, and caseFirst; and the strings to be sorted consist entirely of alphabetic characters from the character set normally used for writing the selected language".

(c) for fallback=unknown (one test) we allow either a failure result, or a success result consisting of any permutation of the input.
Comment 1 Michael Kay 2015-12-02 11:10:34 UTC
The WG agreed with the proposal, which has been implemented. The new dependency is named "simple-uca-fallback" (and is described in the test suite documentation).
Comment 2 Michael Kay 2015-12-02 11:10:57 UTC
The WG agreed with the proposal, which has been implemented. The new dependency is named "simple-uca-fallback" (and is described in the test suite documentation).