RE: responseXML/responseText exceptions and parseError

> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Thursday, June 19, 2008 12:13 AM
> To: Ian Hickson
> Cc: Zhenbin Xu; Jonas Sicking; Anne van Kesteren; Sunava Dutta; IE8
> Core AJAX SWAT Team; public-webapps@w3.org
> Subject: Re: responseXML/responseText exceptions and parseError
>
> Ian Hickson wrote:
> > On Wed, 18 Jun 2008, Zhenbin Xu wrote:
> >> [Zhenbin Xu] Regardless what different browser does today, rich
> parsing
> >> error is an important feature for developers. I have found it can
> >> pinpoint the exact problem that otherwise would have been difficult
> to
> >> identify when I sent incorrectly constructed XML file.
> >
> > Mozilla shows the XML error in its error console, which seem more
> useful
> > than exposing the error to script, really. (I expect other browsers
> do the
> > same but I haven't checked as recently.)
>
> That's useful, but IMHO not nearly as useful as giving the script code
> the ability to access the information. Sometimes errors happens in the
> absence of the developer, and it's useful to have an easy and
> automatable way to get the diagnostics.
>
> BR, Julian
>

[Zhenbin Xu] Agree :-)  One less dependency.

Received on Thursday, 19 June 2008 20:48:25 UTC