views:

90

answers:

1

When i try to parse an xml using nsxmlparser, this error code is showing up, what is this error code pointing to

+3  A: 

NSXMLParser reference, Parser Error Constants:

NSXMLParserPrematureDocumentEndError = 5
//The document ended unexpectedly.

You're likely trying to parse invalid xml document.

Vladimir