Thanks for the reply, Joseph. Yes, I have overridden the error handler to print the errors, fatal errors and warnings. And still these functions are not called, even if the input XML file does not conform to the DTD.
Please let me know: 1. Do I need to set XMLValidator using setValidator() method? 2. Do I need to set DTDHandler using setDTDHandler() method? Please Reply. -Vinay ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 11:34 PM Subject: Re: Validation using SAX2 parser > > Valiation problems are reported via the ErrorHandler. Have you provided > one? The default error handler, per the SAX spec, just fails silently. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
