XML : SAX org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 69; Character reference "

can anyone plz help me out ???...... i have one xml file generated by another application....which has some special char. like &,....now when i am trying to convert it into DOM ...... it gave the this exception "SAX org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 69; Character reference "&#" ...... the problem can be resolved by replace & with (&amp); ......but we dont have any control over the xml file ..so we cant change it ..... plz suggest any other solution for this problem

No comments:

Post a Comment