Error on '&' in the xml text
- From: Leena Kulkarni <leenadiwan (at) yahoo.com>
- Date: Mon, 29 May 2006 04:22:30 -0700 (PDT)
Hello,
We have & character in the xml in data that we send to the parser.
It is giving exception -
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
How can we avoid it? We tried setting the encoding of the InputScource object we created from xmlString. But it is not working.
Please help.
Regards,
Leena
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.