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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: ModSAX: Proposed Core Features

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Fri, 12 Mar 1999 14:47:03 -0500

Sean Mc Grath wrote:

> In the former, the doc.dtd entity is part of the internal document
> type declaration subset. In the latter it is part of the
> external document type declaration subset.
> 
> So, if you have conditional sections in doc.dtd then they are
> not the same.

Not so.  The text of the WFC "PEs in Internal Subset" reads:

# In the internal DTD subset, parameter-entity references can
# occur only where markup declarations can
# occur, not within markup declarations. (This does not
# apply to references that occur in external parameter
# entities or to the external subset.)
# 
# Like the internal subset, the external subset and any
# external parameter entities referred to in the DTD
# must consist of a series of complete markup declarations
# of the types allowed by the non-terminal symbol
# markupdecl, interspersed with white space or
# parameter-entity references. However, portions of the
# contents of the external subset or of external
# parameter entities may conditionally be ignored by using the
# conditional section construct; this is not allowed in
# the internal subset.

So the internal subset's special restrictions on external PE
references (and conditional sections) apply only to the text
actually within the DOCTYPE declaration, not to external PEs
that are referred to from there.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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/ and on CD-ROM/ISBN 981-02-3594-1
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