ModSAX: Proposed Core Features
cowan at locke.ccil.org
Fri Mar 12 19:49:01 GMT 1999
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 at 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 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;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev