xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Quinlan" <Bri...@ActiveState.com>
Subject RE: Xerces continuing on fatal error question
Date Thu, 15 Mar 2001 03:12:36 GMT
SAXParser has a method to do so (setExitOnFirstFatalError), but
SAX2XMLReader no longer subclasses SAXParser and does not implement this
method. All of the methods defined by SAX2XMLReader are described at:

http://xml.apache.org/xerces-c/apiDocs/class_SAX2XMLReader-members.html

And I doing something stupid? I'm thinking about just implementing
SAX2XMLReader::setExitOnFirstFatalError in my copy of Xerces.

-----Original Message-----
From: Andy Clark [mailto:andyc@apache.org]
Sent: Thursday, March 15, 2001 11:32 AM
To: general@xml.apache.org
Subject: Re: Xerces continuing on fatal error question


Brian Quinlan wrote:
> It would be convenient if Xerces did allow one to access the XMLScanner
> instance but I have found no way of doing so.

Check the features documentation. There's a setting you can
call on the parser to continue after fatal errors. Use at
your own risk, though!

--
Andy Clark * IBM, TRL - Japan * andyc@apache.org

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message