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 ]

* Michael Kay <mike@saxonica.com> [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@engrm.com
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml


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

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