I am trying to parse an XML page in Objective-C. The full text of the error is:
Error Domain=NSXMLParserErrorDomain Code=5 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)"
I am attempting to parse the page like so:
NSURL *xmlUrl = [NSURL fileURLWithPath:@"xmlpage"];
NSXMLParser *xmlDoc = [[NSXMLParser alloc] initWithContentsOfURL: xmlUrl];
XMLParser *parser = [[XMLParser alloc]init];
Would appreciate any help, thank you.