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: James Clark <jjc@jclark.com>
  • To: xml-dev Mailing List <xml-dev@ic.ac.uk>
  • Date: Fri, 27 Feb 1998 10:25:18 +0700

David Megginson wrote:
> 
> Matthew Gertner writes:
> 
>  > 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
> 
> This comes back to the original problem, however: what if I want to
> include the external subset and external text entities but don't want
> to validate?  I'm not sure that the two should be tied together
> (AElfred, for example, does not validate, but it does use the DTD).

The following seem the reasonable combinations to me:

- Validate and process all external entities (if you're validating
you've got to process all external entities).

- Don't validate and process external DTD and parameter entitities
depending on the setting of standalone.

- Don't validate and process external DTD and parameter entities
(irrespective of the setting of standalone).

- Don't validate and don't process external DTD and parameter entities
(irrespective of the setting of standalone).

James

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