Error Domain=NSXMLParserErrorDomain Code=64 “The o

2020-05-06 19:51发布

问题:

What deos the error 64 in NSXMLParserDomain Code=64 mean? I am using an NSXMLParser to parse my XML data. But i am getting the above mentioned error. Can someone please help me on this?

回答1:

I found it out. The error comes when the XMl contains errors at the start up. U can validate the XMl using w3schools here http://www.w3schools.com/xml/xml_validator.aspHow to validate an XML



回答2:

Its also happens if the XML contains some extra line before the xml tag starts.