Possible errata in XML 1.0/1.1 Section 2.3

Hi,

"2.3. Common Syntactic Constructs" of XML 1.0 SE [1], XML 1.0 third
edition PER [2] and XML 1.1 PR [3] is described as follows:

> Note:
>   Although the EntityValue production allows the definition
>   of an entity consisting of a single explicit < in the literal
>   (e.g., <!ENTITY mylt "<">), it is strongly advised to avoid
>   this practice since any reference to that entity will cause
>   a well-formedness error.

However, this statement is not applied to parameter entity references.
E.g., the following declarations are valid.

 <!ENTITY % mylt "<" >
 <!ENTITY % myDecl "%mylt;!ELEMENT myElem EMPTY >" >
 %myDecl;

Such descriptions are nonsense, but conforms to XML syntax.
So the word 'entity' should be changed to 'general entity'.


[1] http://www.w3.org/TR/2000/REC-xml-20001006#sec-common-syn
[2] http://www.w3.org/TR/2003/PER-xml-20031030/#sec-common-syn
[3] http://www.w3.org/TR/2003/PR-xml11-20031105/#sec-common-syn

Regards,
-- 
Satoshi ISHIKAWA / webmaster@satoshii.org
http://www.satoshii.org/markup/

Received on Sunday, 9 November 2003 17:25:02 UTC