W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2004

RE: CData section not top-level

From: Michael Kay <mhk@mhk.me.uk>
Date: Tue, 31 Aug 2004 21:00:12 +0100
To: "'Paul J. Lucas'" <plucas@bea.com>, <public-qt-comments@w3.org>
Message-ID: <E1C2EoE-00043u-IS@frink.w3.org>

This change is intentional.

This construct is no longer an expression that can be evaluated to produce a
result. It's now just a way of supplying literal text, in such a way that
special characters do not need to be escaped. It can therefore go only in
places where literal text can go, namely inside a direct element
constructor.

Michael Kay 

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of Paul J. Lucas
> Sent: 31 August 2004 20:10
> To: public-qt-comments@w3.org
> Subject: CData section not top-level
> 
> 
> 	In the July 2004 grammar, a CData section apparently is allowed
> 	only within the content of an element.  This differs from the
> 	November 2003 version of the grammar where it is allowed
> 	anywhere an XML element is allowed.  The XQuery:
> 
> 		<![CDATA[hello]]>
> 
> 	is now illegal.  Is this the intent or a mistake?
> 
> 	- Paul
> 
> 
> 
Received on Tuesday, 31 August 2004 20:00:50 UTC

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