Anyone else experiencing crashes deep down in the iPhone libraries when NSXMLParser parses an xml containing errors? I thought it was supposed to call:
- (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError
but instead it crashes the entire app somewhere inside _xmlRaiseError.
Is anyone else experiencing this and is there a way to catch this, instead of having my program crash?
I filed this as a bug report and Apple answered me 1 year later to say it should be fixed in iOS5.