XML1.1 (and 1.0) Descriptive Inconsistency - Section 2.4


Section 2.4 contains the following language in the 4th para:

<quote>
In the content of elements, character data is any string of 
characters which does not contain the start-delimiter of any
markup. In a CDATA section, character data is any string of
characters not including the CDATA-section-close delimiter,
"]]>".
</quote>

This is followed by production [14], which has:

[14]    CharData    ::=    [^<&]* - ([^<&]* ']]>' [^<&]*)

The descriptive inconsistency is that the above quoted 4th
para does not agree with this production and is also somewhat
misleading since Section 2.7 separately treats the content
of a CDATA section.

I would suggest the 4th para be modified to read as follows:

"In the content of elements, character data is any string of 
characters which does not contain the start-delimiter of any
markup and does not include the CDATA-section-close delimiter,
"]]>".

Regards,
Glenn Adams

Received on Monday, 17 November 2003 17:53:03 UTC