[jdom-interest] ampersand entity parsing

Jason Hunter jhunter at servlets.com
Tue Oct 17 23:57:25 PDT 2006

Hi Todd,

I doubt the parser is really returning that.  It's something else in 
your system.  Try running the SAXBuilderDemo against the file, and it'll 
work I expect, thus proving it's not the parser or JDOM.


tballen at Copart.Com wrote:
> Hello.
> I realize this may not be a pure JDOM issue but figured I would post 
> this question here as I have not been able to find anything substantive.
> I have a text node like:
> <name>Peter &amp; Paul</name>
> The parser returns only:
> Peter
> It seems to stop right at the ampersand and then moves on to the next 
> element.
> No parsing errors occur.
> I'm using Xerces as the SAX parser.
> Any info. is appreciated.
> Thanks,
> Todd
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list