Re: SAX: finalising org.sax.xml.Parser
Matthew Gertner (matthewg@poet.de)
Wed, 25 Feb 1998 16:59:59 +0100
>It should have the following meaning:
>- setValidate(false);
> That the document/stream should be parsed for well-formedness.
> This should also be the default if nothing was set with the setValidate()
method.
>
>- setValidate(true);
> That the document/stream should also be validated during parsing.
How about a 2x2 matrix?
With DTD
setValidate(false) - checks for well-formedness, external subset is used
for entity and notation declarations, etc.
setValidate(true) - full validation
Without DTD
setValidate(false) - just checks for well-formedness
setValidate(true) - throws an exception
Matthew