Title: RE: SAX ErrorHandler errors

I did check the SAX documentation and I found it not very specific either, that is why I sent the email in the mailing list :-)

But it helps anyway.

Thanks.

Thomas

-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 2:04 PM
To: [email protected]
Subject: Re: SAX ErrorHandler errors






Hi Thomas,

I would either consult the documentation for SAX, or ask the question on the Xerces-C dev list.  Fatal errors are usually un-recoverable, and are related to problems with documents that are not well-formed.  Errors are always validation errors.  I'm not sure what warnings are, and the SAX documentation is not very specific:

http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html

Hope that helps!

Dave



                                                                                                                                               

                      [EMAIL PROTECTED]                                                                                                 

                      oftware.com                      To:      [email protected]                                                   

                                                       cc:      (bcc: David N Bertoni/Cambridge/IBM)                                           

                      11/22/2002 10:45 AM              Subject: SAX ErrorHandler errors                                                        

                                                                                                                                               






If I define a SAX ErrorHandler to be used for my XSLT transformation (XSLTTransformer.setErrorHandler), I can trap 3 different kinds of errors: fatal, error and warning.


Is there a documentation somewhere of what is a fatal, error or warning? A couple of examples to illustrate what I am looking for:


        - if I turn the XML validation on, what validation problems will be mapped to a fatal, error and warning?
        - If any "problems" in the XSLT stylesheet, which ones are fatal, error or warning?


If this is not documented or specified clearly somewhere, any patterns that I can look through the code to build my own list from the source code?


Thanks.


Thomas


Reply via email to