Re: external parameter entities

At 06:36 PM 7/1/98 -0400, Richard Goerwitz wrote:
>This would seem to make it illegal to do some seemingly very natural
>things like:
>
>  <!ENTITY % e SYSTEM "external.data">
>
>where external.data contains a token like "EMPTY" or "CDATA".

Yes. 

>Is this what you intended?

Yes.  The reason is that any external entity, in principle, should have
the capability of beginning with a text declaration to allow for variant
encodings - a necessity for global operations.  You couldn't do this
and get away with

<!ENTITY % e SYSTEM "external.data">
<!ELEMENT E (%e;)>

 -Tim

Received on Thursday, 2 July 1998 08:55:45 UTC