[jdom-interest] escaped character handling

John Pang jpang at viviance.com
Wed Aug 22 06:49:46 PDT 2001

sorry, that should have been SAXBuilder.setExpandEntities(false)...

-----Original Message-----
From: John Pang [mailto:jpang at viviance.com]
Sent: 22 August 2001 14:48
To: jussi.koiranen at sensor-sc.fi
Cc: jdom-interest mailing list
Subject: RE: [jdom-interest] escaped character handling


If you are using SAXBuilder to build your document, you can use
SAXHandler.setExpandEntities(false) to suppress entity expansion.

Hope this helps,

-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Jussi Koiranen
Sent: 22 August 2001 13:55
To: jdom-interest at jdom.org
Subject: [jdom-interest] escaped character handling

Is it possible to tell to JDOM not to transform
escaped character to corresponding unicode characters?

I have in XHTML file "–" and parsed JDOM document
contains '–' character instead of string "–".
And when I output that to file I'd like to get string "–".

I can fix this by converting all "–" strings to "–"
in XHTM file, byt then it doesn't look corret at www-browser.

To control your jdom-interest membership:

More information about the jdom-interest mailing list