[Home] [By Thread] [By Date] [Recent Entries]

  • To: Michael Kay <mike@s...>
  • Subject: Re: XML Max Character Value
  • From: 'Alan Gutierrez' <alan-xml-dev@e...>
  • Date: Sun, 14 Aug 2005 22:43:11 -0400
  • Cc: 'Bob Foster' <bob@o...>, 'Derek Denny-Brown' <derekdb@m...>, xml-dev@l...
  • Mail-followup-to: Michael Kay <mike@s...>,'Bob Foster' <bob@o...>,'Derek Denny-Brown' <derekdb@m...>, xml-dev@l...
  • User-agent: Mutt/1.4.1i

* 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member