limit imposed by the application while parsing XML

試著忘記壹切 提交于 2019-12-22 00:34:40

问题


I'm parsing a huge XML file using eclipse juno. It parses few lines of it and then it generates the following exception:

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.

What should I do now? One of the solution that comes into my mind is to split my XML into multiple small XML files but i can't find any solution to do that too. You can see my code here

Any help would be appreciated. Thanks

来源:https://stackoverflow.com/questions/29360962/limit-imposed-by-the-application-while-parsing-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!