W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 1998

Re: external parameter entities

From: Tim Bray <tbray@textuality.com>
Date: Thu, 02 Jul 1998 05:57:02 -0700
Message-Id: <>
To: Richard Goerwitz <Richard_Goerwitz@Brown.EDU>, xml-editor@w3.org
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".


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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:39 UTC