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

[Bug 2448] [F&O] Clarification for semantics of upper-case() and lower-case()

From: <bugzilla@wiggum.w3.org>
Date: Fri, 04 Nov 2005 10:03:26 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EXyPu-000122-Io@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2448

           Summary: [F&O] Clarification for semantics of upper-case() and
                    lower-case()
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: colin@colina.demon.co.uk
         QAContact: public-qt-comments@w3.org


I am not totally clear on the semantics of upper-case() and lower-case().
Are they suppose to implement full case mappings (as is strongly suggested by:
"Case mappings may change the length of a string."), or simple case mappings?
It would be nice to explicitly say that the full default mappings must be used.

It think it would also be good to add a warning that
lower-case ($A) eq lower-case ($B) is not a true case-insensitive comparison
(for that we would need a fold-case() function, but I'm not suggesting taht be
added for 2.0 at this late stage).
Received on Friday, 4 November 2005 10:03:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT