Re: DOMParser RFE issues
Jonas Sicking <[email protected]> Mon, 10 Jul 2006 16:06:43 -0700
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > [email protected] wrote: >> Robert Sayre wrote: >>> I would use nsISAXXMLReader and set an errorHandler. >> :-( No dice. I still got an error message in the Error Console. > > Unfortunately, this message is coming from nsExpatDriver.cpp, from > > https://bugzilla.mozilla.org/show_bug.cgi?id=297814 I would go with bzs suggestion and adding the capability to turn off error-reporting from nsExpatDriver. This capability could be added to both the SAX reader and to nsDOMParser. I even wonder if the right thing to do is to default to not reporting errors into the console and only enable it when loading things into a docshell, if at all. / Jonas