SAX: finalising org.sax.xml.Parser
Matthew Gertner
matthewg at poet.de
Wed Feb 25 16:01:23 GMT 1998
>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
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list