• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSXMLParserDelegateAbortedParseError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSXMLParserDelegateAbortedParseError
      • From: Josh Caswell <email@hidden>
  • Prev by Date: Re: easy way to store table-like data
  • Next by Date: Re: Why do I have to initialize NSError ?
  • Previous by thread: NSXMLParserDelegateAbortedParseError
  • Next by thread: Re: NSXMLParserDelegateAbortedParseError
  • Index(es):
    • Date
    • Thread