RE: CData section not top-level

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