Re: External DTD Grammar

John Cowan (cowan@locke.ccil.org)
Wed, 05 Aug 1998 11:27:21 -0400


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@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)