External DTD Grammar

John Cowan cowan at locke.ccil.org
Wed Aug 5 17:28:17 BST 1998


Richard Tobin scripsit:
> 
> > Replacement texts can't contain PE references (PE declarations can,
> > but the references are resolved at entity declaration time), so it isn't
> > even necessary to push back the replacement text onto the input stream.
> 
> This is not true - references are expanded when the entity is declared,
> but that may produce text containing new entity references [by
> containing hidden %s]

Quite right; my mistake.  So "%foo;" is an eager PE reference, but
"%foo;" within an entity value is a lazy PE reference (or
more accurately, a deferred-once reference).

-- 
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/
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