W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

[Bug 4264] K2-ComputeConAttr-5 vs. K2-ComputeConAttr-35

From: <bugzilla@wiggum.w3.org>
Date: Fri, 19 Jan 2007 12:29:47 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H7ssN-000125-Rj@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4264





------- Comment #1 from mike@saxonica.com  2007-01-19 12:29 -------
The empty CDATA section is a lexical notation for a sequence of zero characters
within the element content. It's the same as writing nothing at all, except
that the rules for determining boundary whitespace are determined before
expansion of entity references and CDATA sections. For better or for worse, the
definition is:

Boundary whitespace is a sequence of consecutive whitespace characters within
the content of a direct element constructor, that is delimited at each end
either by the start or end of the content, or by a DirectConstructor, or by an
EnclosedExpr

and in K2-ComputeConAttr-5, the whitespace characters are not boundary
whitespace because they are delimited at one end by a CDATA section, which is
neither a DirectConstructor nor an EnclosedExpr.
Received on Friday, 19 January 2007 12:30:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC