You have to add your own ErrorHandler that takes care of the errors. It seems that the default error handler just ignores all errors.
/per > -----Original Message----- > From: Mel Rod [SMTP:[EMAIL PROTECTED] > Sent: Friday, March 16, 2001 2:54 PM > To: [EMAIL PROTECTED] > Subject: Validating a xml > > > Hi, > > I have an xml file and a dtd. I am trying to parse it using the > validating parser. For some reason it does not throw any exceptions on non > > conformace. I have set the validating feature to true. > > Please advise. > > Melroy > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > --------------------------------------------------------------------- > 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]
