CR-xml-infoset-20010514: unexpanded entity reference

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
this.

James

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