[jdom-interest] Automatic Character Escaping

Robert (Jamie) Munro rjmunro at arjam.net
Wed Apr 2 04:48:41 PST 2003


> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jay Balunas
> Sent: 02 April 2003 00:27
> To: rjmunro at arjam.net
> Cc: jdom-interest at jdom.org
> Subject: RE: [jdom-interest] Automatic Character Escaping
>
>
>
> Robert Munro,
>
>       Thanks for your quick response.  I did try what you suggested with:
>
> >You need to put a
> >non-breaking space, character code 160 into JDOM.
>
> I entered   instead, because that is what actually gets replaced with
> the DTD in the XML.  This had a very similar effect where I was getting
>  .  Is there another way to get that string into it.

You need to enter the code 160 as a java character, \u160, not  .

Always remember, JDOM is not XML. It just happens to be able to hold the
same data as XML in a totally different format.

Robert Munro




More information about the jdom-interest mailing list