[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Matthew Gertner" <matthewg@p...>
  • To: "xml-dev Mailing List" <xml-dev@i...>
  • Date: 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



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member