Questions tagged [nsxmlparsererrordomain]

18 questions
5
votes
5 answers

NSXMLParserErrorDomain 111

The code below is printing the following message: Error Domain=NSXMLParserErrorDomain Code=111 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 111.) mainUrl = [NSURL URLWithString:@"http://www.carris.pt/pt/carreiras"]; NSString…
pedroremedios
  • 763
  • 1
  • 11
  • 39
4
votes
0 answers

NSXMLParser failed in iOS 6 with NSXMLParserNAMERequiredError

I am facing parsing failed issue in iOS 6 only. The code is working previous versions of iOS 6 ,but not working in iOS 6. I am trying to send login request to server url. I am getting the response from server in xml format. I am using NSXMLParser to…
2
votes
3 answers

ios XML parsing : Error Domain=NSXMLParserErrorDomain Code=76 on some devices

I get this error in my app on one specific iPhone 4 device while parsing an XML Feed: error parsing XML: Error Domain=NSXMLParserErrorDomain Code=76 I am not able to determine why it's happening on this particular device and not others: this is the…
Nico AD
  • 1,657
  • 4
  • 31
  • 51
2
votes
2 answers

NSXMLParserErrorDomain error 64

I have to call xml parsing I am receiving this error "NSXMLParserErrorDomain error 64", if I will parse dynamically I will get this error. statically parsing on that same xml I get my attribute values. If i will try another one server different…
Balaji
  • 21
  • 4
1
vote
1 answer
1
vote
2 answers

NSXMLParser error 201 when it reaches xsi:nil

I have a NSXMLParser parsing and XML source and one of my tags is . When the parser reaches this tag, it throws an NSXMLParserErrorDomain error 201. If I remove this tag from my XML source, I get no error. Any ideas why this…
Wise Shepherd
  • 2,228
  • 4
  • 31
  • 43
1
vote
1 answer

"The operation couldn’t be completed. (NSXMLParserErrorDomain error 111.)"

I am trying to parse an XML string in Xcode. It parse the string successfully, but after it gives error. Here is the xml String, parsing code and error message. please guide me. Thank you all in advance. XML String.
Zubair
  • 45
  • 2
  • 4
1
vote
2 answers

Problems parsing XML using NSXMLParser

I'm having strange problems parsing (apparently) correct XML code! The xml parsed is:
PirosB3
  • 1,961
  • 1
  • 17
  • 21
1
vote
2 answers

Getting NSXMLParserErrorDomain error 4 while uploading uiimage to server through webservice

I'm trying to post an image to a web service from the iPhone. I'll post the code first then explain everything I've tried: NSData *Imagedata; Imagedata = UIImagePNGRepresentation(imagee); strSoapMsg = [[NSString alloc] initWithFormat: …
MURR
  • 91
  • 1
  • 4
0
votes
1 answer

XML Parsing - NSXMLParserErrorDomain error 5

I'm trying to parse a XML File. It worked very well - until today... Here's how I start to parse the XML: NSString *link = [[NSString alloc] init]; link = @"link_to_xml_file"; NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL…
Fabio Poloni
  • 8,219
  • 5
  • 44
  • 74
0
votes
1 answer

The operation couldn’t be completed. (NSXMLParserErrorDomain error 26.) - Three20 XML parser

I am constantly getting this error while parsing XML using NSXMLParser. The error I am getting is NSXMLParserErrorDomain error 26. I have appropriate code to handle external entities but still the parser fails. Any comments.
user210504
  • 1,749
  • 2
  • 17
  • 36
0
votes
1 answer

NSXMLParser Premature Document End error caused by empty nodes?

I'm using NSXMLParser to parse an XML document which is being returned from a web service hosted remotely. The XML is valid but some of the nodes will occasionally be empty, this seems to cause NSXMLParser to fall over (NSXMLParserErrorDomain error…
Steff
  • 37
  • 6
0
votes
1 answer

XML Parsing and set variables to instance

I created a class called "event". This class has three variables. Main file initialize an instance of this class, after I parse an xml file but when I go to retrieve the created instance I did not recognize. Where am I wrong? #import…
0
votes
3 answers

NSXMLParser and BOM bytes

I'm getting my xml file as a result of a php query from some server. When I print the resulting data to the console I'm getting well-structured xml file. When I try to parse it using NSXMLParser it returns NSXMLParserErrorDomain with code 4 - empty…
0
votes
1 answer

NSXMLParserErrorDomain in Objective C?

I have set up a local server using XAMPP. I am making a request to the PHP pages , but i am getting an error as below: "Parser Error : Error Domain=NSXMLParserErrorDomain Code=5 "Operation could not be completed. (NSXMLParserErrorDomain error…
Biranchi
  • 16,120
  • 23
  • 124
  • 161
1
2