[jdom-interest] Turning of entity expansion

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Sep 3 08:41:12 PDT 2002


At 3:05 PM +0100 9/3/02, ion wrote:
>I am parsing a XHTML file and there is a line like this:
>
><p><i>&#169; 2002Blah blah blah</i></p>
>

There are no entity references in this element. There are character 
references. They are not the same thing.

>When I have done a couple of mods to the file I output
>it to another file.
>
>When I look at the output my Unicode reference has been
>changed into the actual character, which I do not want, I want
>this line to be output verbatim.

You can't have that, and IYKWWGFY (*), you wouldn't want that.

--
Elliotte

*  if you knew what was good for you :-)



More information about the jdom-interest mailing list