RE: [XQuery] Computed CDATA constructor

Note that the CDATA section in XQuery is not really a constructor but a
way for people to enter CDATA in element content without the need for
entitizing (like in XML 1.0). As Jonathan pointed out, this does not
carry into the data model and should probably not be described as a
constructor...

Best regards
Michael

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Sarah Wilkin
> Sent: Monday, November 10, 2003 2:02 PM
> To: public-qt-comments@w3.org
> Subject: [XQuery] Computed CDATA constructor
> 
> 
> It seems for every direct constructor there is a computed constructor
> -- except for CDATA sections. Since the WG has allowed CDATA direct
> constructors at all, there should be full support including computed
> constructors. I can understand if the CDATA sections were only to ease
> creating/viewing files that would otherwise require many entities, but
> since they also may be serialized by implementors it is limiting to
not
> to have this functionality.
> 
> Proposed rule:
> CompCdataConstructor ::= "cdata" "{" Expr? "}"
> 
> --Sarah
> 

Received on Monday, 10 November 2003 19:52:08 UTC