I use following code for parsing:
//init parser with readStr
NSData* xmlData = [stringToParse dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES];
NSXMLParser* xmlParser = [[NSXMLParser alloc] initWithData:xmlData];
//parse with events
[xmlParser setDelegate:self];
[xmlParser parse];//<<<< BAD ACCESS!!
//release parser
[xmlParser release];
I get a "EXC_BAD_ACCESS" at the line [xmlParser parse];. What am I doing wrong?