Re: SAX: XML Declaration
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@f... Microstar Software Ltd. dmeggins@m... http://home.sprynet.com/sprynet/dmeggins/ 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...)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format