Re: Suggestions for prod. 68, VC Entity Declared and section 4.4.3

Dieter,

Apologies for the long response time to your message at
http://lists.w3.org/Archives/Public/xml-editor/2006JulSep/0005

You were suggesting a change to section 4.4.3 to clarify
the behavior and XML processors with respect to entities
in certain cases.

Section 4.4.3 says:

 If the entity is external, and the processor is not attempting
 to validate the XML document, the processor MAY, but need not,
 include the entity's replacement text.

You asked:

 Should not the same apply if the entity is internal, but
 declared in the internal subset of a DTD after a reference
 to a parameter entity that the processor did not read?
 (See also 4.4.2 and the WFC Entity Declared of prod. 68.)

This problem is not confined to internal entities declared in 
the internal subset after an unprocecessed PE reference.  It 
(more commonly) applies to internal entities declared in the 
external subset.

Section 5.2 covers this:

 For example, a non-validating processor may fail to [...]
 include the replacement text of internal entities [...] where
 doing so depends on having read declarations in external or
 parameter entities.

To make the situation clearer, we are going to augment the 
above sentence to read:

 For example, a non-validating processor may fail to [...]
 include the replacement text of internal entities [...] where
 doing so depends on having read declarations in external or
 parameter entities, or in the internal subset after an unread
 parameter entity reference.

We plan to process this change as an erratum to XML 1.0 and 1.1.

paul

Paul Grosso for the XML Core WG

Received on Wednesday, 26 September 2007 15:56:56 UTC