Re: DOMParser RFE issues

Robert Sayre <[email protected]> Mon, 29 May 2006 14:56:03 -0400
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Boris Zbarsky wrote:
>
> A different component might work too; you'd basically need to implement 
> your own XML sink then -- one that just ignores all the callbacks except 
> the error-reporting one.  That would save you having to construct the 
> DOM too, so maybe it's the way to go.

I would use nsISAXXMLReader and set an errorHandler.

-Rob