W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 2003

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

From: Glenn A. Adams <gadams@xfsi.com>
Date: Mon, 17 Nov 2003 17:53:02 -0500
Message-ID: <7249D02C4D2DFD4D80F2E040E8CAF37C07F1CE@longxuyen.xfsi.com>
To: <xml-editor@w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:46 UTC