Stephen, Patty 

> -----Original Message-----
> From: Stephen Bash [mailto:[EMAIL PROTECTED] 
> Sent: Donnerstag, 23. März 2006 14:45
> To: [email protected]
> Subject: Re: [castor-user] When unmarshalling, need Castor to 
> validate entire document against schema instead of quitting 
> after first validation error
> 
> Patty-
> 
> Unfortunately, I don't think you can replace the ErrorHandler 
> in such a way that the change will stick.  When you call 
> unmarshal, the Unmarshaller sets the error handler just 
> before starting parsing.  So that means the fix needs to live 
> inside Castor, unless we create a method for user-supplied 
> ErrorHandlers.
If we decide to do so, why not a similar mechanism to DTDResolver, which allows 
some sort of chaining.

Werner

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to