You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Brent L Johnson <br...@bjohnson.net> on 2000/12/07 16:42:05 UTC

Ideas for Validation Handling

What's the general "preferred" way for doing validation handling with
Xerces?  Basically, what's a good way to pass data from the error()
method (e.g. the details about the validation error) to some code after
the parse() call can report the errors?

Right now, I'm throwing an exception and passing the string as the
exception message.  Eric suggested not throwing an exception during the
validation.  Just curious to find out how others are handing the
validation.

Thanks,

- Brent