解析XML时应用程序强加的限制

时间:2015-03-31 05:05:50

标签: java xml parsing xml-parsing

我正在使用eclipse juno解析一个巨大的XML文件。它解析了几行,然后生成以下异常:

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; The parser has encountered more than "64,000" entity expansions in this document; this is the limit imposed by the application.

我现在该怎么办?我想到的解决方案之一就是将我的XML分成多个小的XML文件,但我也找不到任何解决方案。 您可以看到我的代码here

任何帮助将不胜感激。感谢

0 个答案:

没有答案