Errors are not reported via the exceptions, they are reported via pluggable error callbacks. An exception can only report one error, because it unwinds the stack. The callbacks allow the parser to continue through more than one error (if you tell it that’s ok to do.) Look at the sample programs, which clearly show how this is done.

 

-------------------------------------

Dean Roddey

The Charmed Quark Controller

[EMAIL PROTECTED]

www.charmedquark.com

 

-----Original Message-----
From:
Scot Nielsen [mailto:[EMAIL PROTECTED]]
Sent
:
Tuesday, September 24, 2002 3:09 PM
To: 'Xerces-Dev (E-mail)'
Subject: How to get the error code during SAX parse?

 

Can someone enlighten me please? There's no error code value in the SaxParseException class...

 

Are all error codes for internal use only?

 

Many thanks, Scot Nielsen

 

Reply via email to