Java 解析XML时应用程序施加的限制
我正在使用EclipseJuno解析一个巨大的XML文件。它解析其中的几行,然后生成以下异常:Java 解析XML时应用程序施加的限制,java,xml,parsing,xml-parsing,Java,Xml,Parsing,Xml Parsing,我正在使用EclipseJuno解析一个巨大的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. 我现在该怎么办?我想
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文件,但我也找不到任何解决方案。
你可以看到我的代码
任何帮助都将不胜感激。谢谢你为什么要提出一个新问题?你可以编辑链接的那个!抱歉,我认为这可能会造成混乱。您使用的是什么JDK。OpenJDK或OracleJDKSee(如果有帮助):我使用的是oraclejdkversion1.7