xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Goei <Edwin.G...@eng.sun.com>
Subject Re: Validation and RevalidatingDOMParser questions
Date Sat, 07 Oct 2000 00:50:28 GMT
Andy Clark wrote:
> 
> This problem comes up so often that I'm inclined to always
> have a default error handler registered on the all parsers
> built on the Xerces framework. The javadoc uses the word
> "application" specifically, but if I read the spirit of the
> law instead of the letter of the law, then it just states
> that you shouldn't be surprised that errors are silently
> swallowed when there is no error handler registered.
> 
> Perhaps we should get a ruling from David Megginson and also
> ask the users what they would prefer. (Although, from the
> amount of "bug" reports we get because of this, I think I
> know what the users would say.)

I'd like to know this too.  If you find out, let us know.  Also, a
related question is what should the default error handler do?  Print all
errors, the first 10, print a warning to set an error handler, and in
what format.

-Edwin

Mime
View raw message