Re: DOMParser RFE issues
Robert Sayre <[email protected]> Wed, 12 Jul 2006 17:10:10 -0400
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
Jonas Sicking wrote: > > 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. I don't see the use case for SAX console writing. SAX does provide its own error event, via the ErrorHandler interface. I'd rather the consuming application do the logging. So far, none of the SAX use cases need/want console logging, and it would be actively harmful in Thunderbird, where a whole sidebar full of feeds can get refreshed at once. -Rob