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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

bugzilla (Bugzilla)-14

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: [hidden email]
        ReportedBy: [hidden email]
         QAContact: [hidden email]


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).