At 3:59 AM +0100 4/20/02, James Strachan wrote:
>I've added 3 extension functions submitted by Mark Wilson. They are in CVS
>right now if anyone wants to play with them. I've added some XPath unit test
>cases in the usual place jaxen/xml/test/tests.xml so you can see them in
>operation.
>

As written the uppercase() and lowercase() functions are 
locale-sensitive, and do not provide any means to choose the locale. 
They may give different results on different systems with the same 
string. No means of choosing the locale is provided. An algorithm 
like the one used in XSLT2 
(http://www.w3.org/TR/xquery-operators/#func-upper-case) based on 
Unicode case mappings <http://www.unicode.org/unicode/reports/tr21/> 
might be more reliable or at least reproducible.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to