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: <3.0.32.19980701183848.00a36ff0@pop.intergate.bc.ca>
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".

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT