CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 04:24:16 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:50:22 GMT
cache-control: max-age=2592000, public
expires: Sun, 09 Nov 2025 05:32:38 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c3bd021955b8bf
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=Id2bq.eg_vtasBowE4U1AZO6oXGw1O4DZHvAbubMz94-1760156656-1.0.1.1-WbvGByiLlZCYvhPRz9r5Mg6_I.nFMcB1g.eBXVYorPeNToMje7vvpqlCPpgqSn.8uiiV521xP38j5nEwwi4jRBsg3WONVE0T5YhpI73QaBQ; path=/; expires=Sat, 11-Oct-25 04:54:16 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cb963b4afb8839-BLR
alt-svc: h3=":443"; ma=86400
[XQuery] 3.1.6 XQuery Comments: placement from Michael Dyck on 2004-02-16 (public-qt-comments@w3.org from February 2004)
[XQuery] 3.1.6 XQuery Comments: placement
- From: Michael Dyck <jmdyck@ibiblio.org>
- Date: Mon, 16 Feb 2004 00:53:57 -0800
- To: public-qt-comments@w3.org
- Message-id: <40308525.EF1696F3@ibiblio.org>
XQuery 1.0: An XML Query Language W3C Working Draft 12 November 2003 3.1.6 XQuery Comments "Comments may be used anywhere ignorable whitespace is allowed. See A.2 Lexical structure for the exact lexical states where comments are recognized." In the following queries, a comment is placed where ignorable whitespace would appear to be allowed, but where the A.2.2 machine has no transition on "(:". So which is correct? Does the comment cause a syntax error or not? node( (:test:) ) processing-instruction( xml-stylesheet (:test:) ) element( person (:test:) ) element( hospital / (:test:) staff / person ) <shoe (:test:) size="7"/> <fact>I saw 8 cats.</fact (:test:) > 9 cast (:test:) as hatsize -Michael Dyck
Received on Monday, 16 February 2004 03:59:48 UTC