Ⓙⓐⓚⓔ schrieb:
I use the error callback, but it doesn't get called back when the xml is malformed.Do I need to use the complete callback??
Yes, I think so. Or the success callback. The reason is, that the response has been successfully delivered, just with ill-formed XML.
You may need a try/catch, but I don't know how browsers handle ill-formed XML, e.g. if you can catch that error...
-- Klaus