W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > July to September 2001

CR-xml-infoset-20010514: unexpanded entity reference

From: James Clark <jjc@jclark.com>
Date: Mon, 16 Jul 2001 12:57:25 +0700
Message-ID: <016d01c10dbc$30342120$0e00a8c0@bkk.thaiopensource.com>
To: <www-xml-infoset-comments@w3.org>
The intro says:

"An entity may not be declared, or may not be retrievable. A non-validating
processor may choose not to read all declarations, and even if it does may
not expand all external entities. In these cases an unexpanded entity
reference information item is used to represent the entity reference."

As I understand it, an [unexpanded entity reference] info item is only for
the case where the processor has seen a declaration for a external parsed
entity, but has chosen for whatever reason not to expand.  For other cases
(eg a parser that does not read external DTDs or parameter entities), the
[unexpanded entity reference] is not applicable.  However, it is not clear
what the infoset looks like in this case.  It would seem that if

- you have a parser that can't read external DTDs,
- your document doesn't have standalone="yes", and
- your document has an external DTD

then you cannot accurately create the infoset.  Perhaps the spec should say

Received on Monday, 16 July 2001 01:57:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:02 UTC