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

external parameter entities

From: Richard Goerwitz <Richard_Goerwitz@Brown.EDU>
Date: Wed, 01 Jul 1998 18:36:56 -0400
Message-ID: <359ABA08.CC539A8D@Brown.EDU>
To: xml-editor@w3.org
Internal parameter entity replacement text, as given in a decl, is
valid by definition, according to the XML standard.  External parameter
entity replacement text must parse according to the extSubsetDecl pro-
duction according to the standard.

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?  E.g., if I want to define a parameter entity
to be "IGNORE", is it impossible to dump the word "IGNORE" into a data
file, and point an entity declaration at it?

James Clark's XML validation suite uses constructs like the above.

Am I right to be confused here?


Richard Goerwitz
PGP key fingerprint:    C1 3E F4 23 7C 33 51 8D  3B 88 53 57 56 0D 38 A0
For more info (mail, phone, fax no.):  finger richard@goon.stg.brown.edu
Received on Wednesday, 1 July 1998 18:40:11 UTC

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