Re: DOMParser RFE issues

Jonas Sicking <[email protected]> Thu, 13 Jul 2006 20:29:33 -0700
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Alex Vincent wrote:
> 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.

I don't see your patch doing anything for events? Note that i'm talking 
about DOM-Events.

/ Jonas