[jdom-interest] Re: XML Schema Validation

Andy Clark andyc at apache.org
Wed May 9 22:16:31 PDT 2001


Richard Baldwin wrote:
> On a validation error (DTD or schema), the following
> code throws an exception and does not build the
> Document object.  The Document reference contains null
> when the execution of the catch block completes. - Dick
> Baldwin

Validation errors are non-fatal and do not throw a 
parse exception. Xerces will stop parsing only in the 
case of fatal errors that are caused by the document 
not being well-formed.

-- 
Andy Clark * IBM, TRL - Japan * andyc at apache.org



More information about the jdom-interest mailing list