What is meant by NSXMLParserErrorDomain error 1549

本秂侑毒 提交于 2019-12-11 07:03:40

问题


I am trying to parse a xml document using NSXMLParser. Every time it result in NSXMLParserErrorDomain error 1549. I cant find any documentation regarding that error code.
Any help.
-Shakthi


回答1:


This is probably a problem with resolving a DTD in the XML. Try disabling DTD downloading with this code:

[parser setShouldResolveExternalEntities:NO]


来源:https://stackoverflow.com/questions/6028090/what-is-meant-by-nsxmlparsererrordomain-error-1549

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