[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Max Character Value
* Michael Kay <mike@s...> [2005-08-14 17:29]: > > > > 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. Perfect. Saxon is not a dependency, but it may as well be. I'm developing this B-Tree to work with Saxon. > > 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. I'm using Java 1.4.2, and I don't have plans to move to 1.5 any time soon. I'd like to get some adoption, and I don't think many people are ready to move to 1.5 yet. Thanks for your help. -- Alan Gutierrez - alan@e... - http://engrm.com/blogometer/index.html - http://engrm.com/blogometer/rss.2.0.xml
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|