CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 16:29:34 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 02:55:22 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98cb14018c0c63c8
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=GZ8eE8xAj5jYojPKCPaZsqZGvx6LSktZoBrYUyiNbEE-1760200174-1.0.1.1-zmu4R7XXCpEpztcW2EyxKE36e7b5EsYQSFQK0KfijNfB.vutvupX4UFXsbRgHyjxm.LwN72j.h1zgky.7rK6b1tJLa9rgO8nls_7n2WDkoE; path=/; expires=Sat, 11-Oct-25 16:59:34 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cfbcaeaf7b1eef-BLR
alt-svc: h3=":443"; ma=86400
[Xquery] Comment constructors from David Carlisle on 2004-01-19 (public-qt-comments@w3.org from January 2004)
[Xquery] Comment constructors
- From: David Carlisle <davidc@nag.co.uk>
- Date: Mon, 19 Jan 2004 14:04:00 GMT
- To: public-qt-comments@w3.org
- Message-Id: <200401191404.OAA22905@penguin.nag.co.uk>
Neither form of comment constructor gives any indication of what is to happen if (after atomization/casting) the string contains the sequence "--" or ends in "-" neither of which are allowed in an XML comment. 3.7.2 Other Direct Constructors 3.7.3.6 Computed Comment Constructors <!-- abc -- xyz --> comment { "-123-"} Both appear to be legal Xquery, but neither can directly result in an XML comment and the first can not result in an XPath/Xquery data model comment node: https://www.w3.org/TR/xpath-datamodel/#CommentNode somewhat strangely only bans "--" but allows a trailing "-". By contrast, the xslt2 draft says, https://www.w3.org/TR/xslt20/#creating-comments [ERR XT0950] It is a recoverable dynamic error if the result of evaluating the content of the xsl:comment contains the string -- or ends with -. The optional recovery action is to insert a space after any occurrence of - that is followed by another - or that ends the comment. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: https://www.star.net.uk ________________________________________________________________________
Received on Monday, 19 January 2004 09:05:48 UTC