W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2015

[Bug 29308] New: [QT3TS] Dependencies for UCA Collation tests

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 Nov 2015 23:48:13 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29308-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29308

            Bug ID: 29308
           Summary: [QT3TS] Dependencies for UCA Collation tests
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 26 November 2015 23:48:16 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 26 November 2015 23:48:17 UTC