[jdom-interest] Character Data translation (ï etc.... please help).

Jason Hunter jhunter at collab.net
Wed Jan 17 13:52:03 PST 2001

> For example, I am using the samples program "SAXBuilderDemo.java" from JDOM
> Beta5 and with the input line as follow:
>  <JavaXML:Title>Java &#239; XML</JavaXML:Title>
> and the output from "SAXBuilderDemo" which used XMLOutputter is as follow:
>    <JavaXML:Title>Java <C3><AF> XML</JavaXML:Title>
> The <C3><AF> is the extendted character that does not get translate back to
> an entity.

We'll need to investigate what would be the best behavior in a situation
like this.  Right now XMLOutputter escapes special characters, but not
hard-to-print characters.  If people have opinions, pipe up.


More information about the jdom-interest mailing list