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
Post a Comment