CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 23:20:33 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:50:21 GMT
cache-control: max-age=2592000, public
expires: Mon, 10 Nov 2025 11:22:10 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98cdfa64becea295
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: HIT
set-cookie: __cf_bm=f4iNxYyDQ22iN6NJnU8cCtMcT9YUHxY40qqVlGF3qEk-1760224833-1.0.1.1-vCSw8g_bBhV4CELBWKglcXcMcK3bfOM883dKWMSWF1TzpRVIxijrcT42X_6BY9uUa6bT1tjQ0UOU6vOevaJK3Gbf6RDMr3Ne.hPRvslfg_c; path=/; expires=Sat, 11-Oct-25 23:50:33 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98d216b5db8bd817-BLR
alt-svc: h3=":443"; ma=86400
Re: [XQuery] Computed CDATA constructor (qt-2004Jan0042-01) from Sarah Wilkin on 2004-01-26 (public-qt-comments@w3.org from January 2004)
Re: [XQuery] Computed CDATA constructor (qt-2004Jan0042-01)
- From: Sarah Wilkin <swilkin@apple.com>
- Date: Mon, 26 Jan 2004 11:31:17 -0800
- To: Jonathan Robie <jonathan.robie@datadirect.com>
- Cc: public-qt-comments@w3.org
- Message-Id: <36630940-5036-11D8-ABC3-0003935B7D94@apple.com>
Jonathan, This is quite satisfactory, thanks. --Sarah On Jan 21, 2004, at 2:04 PM, Jonathan Robie wrote: > Hi Sarah, > > The XML Query Working Group has considered your feedback in the > following message: > > https://lists.w3.org/Archives/Member/w3c-xml-query-wg/2004Jan/0042.html > > The following is an official response from the XML Query Working > Group: > > You have correctly pointed out a confusing inconsistency in our > specification. The reason for this inconsistency is that a > CompCdataConstructor does not actually create a CDATA node - in fact, > there is no such thing as a CDATA node in the Data Model. Although the > syntax of CDATA section in XML looks a lot like other things that > really are constructors in XML, and probably would be treated as a > constructor if CDATA nodes existed, this is not the case. (We > confirmed in yesterday's meeting that the WG does not want to add > CDATA sections to the data model.) > > From an XQuery or XSLT perspective, a CDATA section is merely a way of > changing the treatment of special characters within a region of > text. We have decided to change XQuery in the following way: > > 1. Remove all references to CData sections from Section 3.7.2 ("Other > Direct Constructors"). There should be no reference to a "CData > Section constructor" anywhere in the language document. > > 2. Remove CdataSection from the production named Constructor, but > leave it in the production named ElementContent. Move the production > named CdataSection to the top of Section 3.7 ("Constructors"), near > the production named ElementContent. > > 3. In Section 3.7.1.3 ("Direct Element Constructors--Content"), in the > list of rules labeled "Conceptually, the content of an element > constructor is processed as follows", change the rule (1a) to: > "Predefined entity references and character references are expanded > into their referenced strings, as described in 3.1.1 Literals > <https://www.w3.org/TR/xquery/#id-literals#id-literals>. Characters > inside of a CDataSection are treated like XML CData sections and are > mapped directly into string content. The content of a CdataSection may > not contain the string "]]>" since this string is used to delimit the > CdataSection". > > We believe this improves our specification by making it more > consistent with the semantics of our data model, and thank you for > your input. > > Please let us know if this response is satisfactory for you, > > Jonathan >
Received on Monday, 26 January 2004 14:31:25 UTC