I have a very strange issue on iOS7.
I use standard NSXMLParser. On iOS6 everything works just fine - when XML is valid as well as when NSData is zero bytes or contains invalid bytes.
self.dataParser = [[[NSXMLParser alloc] initWithData:data] autorelease];
[self.dataParser setDelegate: self];
[self.dataParser parse];
On iOS7 parser works as expected only when it has a valid XML data. If data is zero bytes, none of the delegate methods are called.
Please help me find a direction to look to. Thanks.
UPD. All delegate methods are implemented (they work well on iOS6). I could check if data contains non-zero bytes (and data == nil), but I also must handle non-valid XML situations...