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

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

From: Grosso, Paul <pgrosso@ptc.com>
Date: Wed, 26 Sep 2007 11:56:44 -0400
Message-ID: <CF83BAA719FD2C439D25CBB1C9D1D30208D94676@HQ-MAIL4.ptcnet.ptc.com>
To: <xml-editor@w3.org>, <d.k@philo.de>
Cc: "Richard Tobin" <richard@inf.ed.ac.uk>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:08:50 UTC