Problem using NSXMLParser with NOAA data on iPhone

Can anyone help me see why NSXMLParser is not causing these methods


to fire for the part of the following data:

<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC=""><SOAP-ENV:Body><ns1:NDFDgenResponse xmlns:ns1=""><dwmlOut xsi:type="xsd:string"><?xml version="1.0"?>
<dwml version="1.0" xmlns:xsd="" xmlns:xsi="" xsi:noNamespaceSchemaLocation="">

(body excluded)


I'm not an XML expert, but to me, the <dwml></dwml> part looks like just a regular element, to be parsed just like the parts before it.

I do get two parser:parseErrorOccurred: errors, #200 and #201, but they occur during the parsing of the <SOAP-ENV:Body> element, not the <dwml> element, so I'm not sure if they are relevant. Thanks for any help you can give me.

Update: A friend of mine has told me offline of several errors in the data above. I can't understand why NOAA would be sending out malformed XML though -- is there some secret to parsing it?


This is a SOAP web service, you might want to try this:

Need Your Help

modify array value from php file in codeigniter or php

php codeigniter

i have php file like below and i want to read this php file and get all array value in this php file and i can update value of array

how to pass id from url to post_save_redirect in

python django django-urls

I have several objects in the database. Url to edit an object using the generic view looks like where 123 is an id of the particular object. Consider the cases/ conte...