- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 17 Dec 2007 00:12:17 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5324
Summary: [XSLT 2.0] case-order is not clearly described
Product: XPath / XQuery / XSLFO / XSLT
Version: Recommendation
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 2.0
AssignedTo: mike@saxonica.com
ReportedBy: mike@saxonica.com
QAContact: public-qt-comments@w3.org
Bug #791 (member-only) against the XSLT test suite points out that case-order
on xsl:sort is not clearly described.
The sum total of the description is: "The case-order attribute indicates
whether the desired collation should sort upper-case letters before lower-case
or vice versa. The effective value of the attribute must be either lower-first
(indicating that lower-case letters precede upper-case letters in the collating
sequence) or upper-first (indicating that upper-case letters precede
lower-case)."
As the bug report against the test suite points out, this could be read as
indicating that case-order="lower-first" is supposed to mean that lower-case
"z" precedes upper-case "A" in the collating sequence. I do not think this is
the intent. The intent was stated (not especially well) by example in the XSLT
1.0 specification:
For example, if lang="en", then A a B b are sorted with
case-order="upper-first" and a A b B are sorted with case-order="lower-first".
Received on Monday, 17 December 2007 00:12:23 UTC