[jdom-interest] escaped character handling

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


Hi,

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

Hope this helps,
John

-----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:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list