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

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 UTC