ModSAX: Proposed Core Features

David Megginson david at megginson.com
Fri Mar 12 18:03:06 GMT 1999


Simon St.Laurent writes:

 > We need:
 > 
 > http://xml.org/sax/features/external-subset

I agree that this functionality is required.  The question is whether
there is a strong case for making inclusion of the external DTD subset
separately configurable from the inclusion of external parameter
entities in general.

I'd suggest not.  Consider the following:

  <!DOCTYPE doc [
    <!-- other stuff -->
    <!ENTITY % dtd SYSTEM "doc.dtd">
  ]>

and

  <!DOCTYPE doc SYSTEM "doc.dtd" [
    <!-- other stuff -->
  ]>

Except for the extra "%doc" entry in the entity name table, these two
document type declarations look to me to be exactly equivalent; as a
matter of fact, I've always considered the second to be simply a
short-hand for the first.

James Clark made a convincing case for separating the inclusion of
external general entities for the inclusion of external parameter
entities.  Can anyone make a convincing case for separating the
inclusion of external parameter entities from the inclusion of the
external DTD subset?


Thanks, and all the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list