Re: DOMParser RFE issues

Alex Vincent <[email protected]> Wed, 12 Jul 2006 13:24:36 -0700
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Jonas Sicking wrote:
>I can think of two ways of doing this:
> 2. Make the default action of error-events be to log the error to the 
> console. This way if scripts handles the event and calls 
> .preventDefault() on them we will not log.
> 
> I like the second solution best, but it doesn't quite work for the 
> sax-reader since it doesn't have error-events. But we could do something 
> similar even for SAX.

That sounds almost exactly like what I did for my initial patch; my 
patch didn't do reporting if there wasn't an error handler, but making 
the change to report by default would be relatively trivial.

Or did you mean something else?