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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: XML Declaration

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <ak117@freenet.carleton.ca>
  • To: Xml-Dev List <xml-dev@ic.ac.uk>
  • Date: Sun, 19 Apr 1998 07:27:24 -0400

James Clark writes:

 > > I have avoided providing information about the XML declaration,
 > > considering it strictly a lexical matter; however, since we are
 > > allowing applications to do their own entity resolution, should they
 > > have access to the value of the 'standalone' pseudo-attribute (if
 > > specified)?
 > 
 > Definitely not.  In my view the whole idea of having resolveEntity
 > return null to prevent inclusion of entities is a bad one.  There needs
 > to be better control over entity inclusion in SAX, but this is not an
 > effective way to provide it.

I agree entirely with your last point -- in fact, in the most recent
two pre-releases, a return value of null means 'let the parser perform
the default action' rather than 'skip the entity' (it is still
possible for an application to skip an entity by returning an empty
CharacterStream or ByteStream, but that is no longer an
officially-document part of SAX).


All the best,


David

-- 
David Megginson                 ak117@freenet.carleton.ca
Microstar Software Ltd.         dmeggins@microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

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