OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: finalising org.sax.xml.Parser

[ Lists Home | Date Index | Thread Index ]
  • From: "Matthew Gertner" <matthewg@poet.de>
  • To: "xml-dev Mailing List" <xml-dev@ic.ac.uk>
  • 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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS