阅读背景:

org.xml.sax。SAXParseException:对实体“T”的引用必须以“;”分隔符结束。

来源:互联网 

I am trying to parse an XML file whcih contains some special characters like "&" using DOM parser. I am getting the saxparse exception "the reference to entity must end with a a delimiter". Is there any way to overcome this exception, since I can not modify the XML file to remove the special characters, since it is coming from different application. Please suggest a way to parse this XML file to get the root element?I am trying to parse an XML file whcih contains




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: