NSXMLParserDelegateAbortedParseError
NSXMLParserDelegateAbortedParseError
- Subject: NSXMLParserDelegateAbortedParseError
- From: Kevin Bracey <email@hidden>
- Date: Wed, 09 Mar 2011 05:31:15 +1300
Hi Josh,
I'm not sure that is the best place to be checking for a server/network error. If there was an API error, I would have thought the server would have returned valid XML with the error details, which should parse and not cause an parser error. I'd look at downloading the file, determine if it's a API error or some other network error, then use NSXMLDocument, at lest until you work out the error handling.
cheers
Kevin_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden