Lists Home |
Date Index |
- From: John Cowan <email@example.com>
- To: XML Dev <firstname.lastname@example.org>
- 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 email@example.com
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:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)