iphone - NSXMLParser crashing on faulty xmls, no correct error handling? -


anyone else experiencing crashes deep down in iphone libraries when nsxmlparser parses xml containing errors? thought supposed call:

  • (void)parser:(nsxmlparser *)parser parseerroroccurred:(nserror *)parseerror

but instead crashes entire app somewhere inside _xmlraiseerror.

is else experiencing , there way catch this, instead of having program crash?

the error handling not found in touchxml framework or in cxmldocument. in libxml framework (to knowledge) output string not raise exception. passing error pointer , reading straight after. if not nil, error has occurred. if getting crashes error should somewhere else... hope helps.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -