nsxmlparsererrordomain

NSXMLParserErrorDomain in Objective C ?

Hi all, 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 5.)" What is this error due to ? Thanks ...

Problems parsing XML using NSXMLParser

I'm having strange problems parsing (apparently) correct XML code! The xml parsed is: <?xml version="1.0" encoding="UTF-8" ?> <root> <results> <file id="0" name=" Linux Ubuntu.rar 700.64 2" size="700" disp="2"/> <file id="1" name=" [Soft] Sistema operativo Linux. ...

NSXMLParser and BOM bytes

Hi, 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 document. I saw that xmls that it couldn't parse have BOM (Byte order mark) sequence ...

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 5) however I can't find anything on the net which would suggest that there would be an is...