Hi Thomas, Thomas Börkel <[EMAIL PROTECTED]> wrote on 08/28/2006 07:29:46 AM:
> HI! > > I'd like to get a list of all schema validations of a document, not > only the first. > > Xerces throws an error at the first occurrence of a schema > validation error and then stops. Can you give an example (docs, code, stack traces, etc...)? Schema validation errors are non-fatal. The validator should only stop if an exception is thrown from an error handler. Note that if you're using JAXP 1.3 validation API the default error handler [1] always throws an exception when a validation error is reported. > If it would be a fatal error, I could set the property "continue on > fatal error", but it is a normal error. > > I have tried to use my own error handler, and just return on an > error, but that did not help either. > > Is there any possibility to do this? > > Thanks! > > Thomas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] [1] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Validator.html#setErrorHandler(org.xml.sax.ErrorHandler) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
