After seeing your comment that it should work, I decided to try again.
It works just fine! My test cases were bad - the way I was creating a
bad document should have only triggered one error, I made a better test
case, and it works great!

Thanks for your help guys

-jt->

-----Original Message-----
From: Robert van Loenhout [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 28, 2004 9:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Retrieving multiple errors from the parser while using
schema?

Jason Thorpe wrote:
> Anyone have any hints on how to get ALL errors/warnings while doing
> schema validation? (Not just the first error)

Hmmm not sure what you mean, because I receive all errors and warnings
in
my custom error handler. After each call to warning, error or fatalError
I append the (fatal) error or warning to a list inside the error
handler.
When the parsing has finished I can retrieve all the information from
there.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to