I am parsing an XML using Java DOM parser. The XML text contains - (in its Unicode reprsentation -) at many places. The parser fails with this exception:
[Fatal Error] :55479:87: Character reference "&# org.xml.sax.SAXParseException; lineNumber: 55479; columnNumber: 87; Character reference "&#
I have no control over the XML being generated. How to parse the XML with such character references? Is there any work around for this?