1
votes

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

1 Answers

1
votes

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

[parser setShouldResolveExternalEntities:NO]