You may find the isXMLDoc function useful...

On Apr 23, 7:55 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Ⓙⓐⓚⓔ 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

Reply via email to