OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XML Max Character Value

[ Lists Home | Date Index | Thread Index ]

> 
>     It gives me something to Google about, "surrogate pairs". I see
>     Jaxen has some code to convert them.

There's also code in Saxon - the XMLChar module, borrowed from Xerces. 
> 
>     Am I seeing that with Unicode in Java, you need to work with
>     String and not with individual char? That puts a dent in my
>     algorithm, which advanced along the characters in the string.
> 

Java 5 has reasonable support for Unicode characters above xFFFF, but if you
want your code to work in earlier JDK releases you need to do it yourself.

Michael Kay
http://www.saxonica.com/






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS