CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 10:16:05 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 20:46:06 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c8f71c19d5ac39
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=nc_456vEYpAbD5_r_rBZE_.Y4bnCCInaZAGkwgzh9so-1760177765-1.0.1.1-ZB3lpusE4E8U9eNpjDvivmEYycuyRHO9o54wIVMzKlB6aYNJhHngMpi__r3atenwELtacbdtmhgKThgGaO3puRw.5GYh5x9xaddjCgMI_68; path=/; expires=Sat, 11-Oct-25 10:46:05 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cd99988dcec195-BLR
alt-svc: h3=":443"; ma=86400
[XQuery] lexical leftovers 4 from Michael Dyck on 2004-02-14 (public-qt-comments@w3.org from February 2004)
[XQuery] lexical leftovers 4
- From: Michael Dyck <jmdyck@ibiblio.org>
- Date: Fri, 13 Feb 2004 18:21:00 -0800
- To: public-qt-comments@w3.org
- Message-id: <402D860C.9FEBA13@ibiblio.org>
XQuery 1.0: An XML Query Language W3C Working Draft 12 November 2003 Here are some comments from https://lists.w3.org/Archives/Public/public-qt-comments/2002Nov/0090.html that did not receive a response from the WG. It turns out that, in my recent submission: https://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0193.html I already re-stated many of the unanswered comments from the Nov 2002 posting. These two are the remainder. ------ A.2.1 White Space Rules "white space is needed to disambiguate the token" In my recent posting, I suggested changing "token" to "grammar". But I think I prefer what I said in Nov 2002: The phrase "disambiguate the token" is, I believe, a misuse of the concept of ambiguity. At any rate, I think it would be plainer and more accurate to say that whitespace is needed to prevent two adjacent tokens from being (mis-)recognized as one. For instance, consider the character-sequence a- b Note that there is a space before the 'b'. It thus has only one derivation from Module (the "a minus b" one), so there is no ambiguity involved, no disambiguation needed. Nevertheless, it is still a case in which (I assume) whitespace is needed between 'a' and '-' to prevent the longest-match rule from (mis-)recognizing 'a-' as a QName. "Special whitespace notation" Note that only the *notation* is special. The treatment of whitespace characters in "ws: explicit" and "ws: significant" productions is *not* special: they treat them like any other character, just as the XML spec does. It's the *unmarked* productions that have special interpretation with respect to whitespace. -Michael Dyck
Received on Friday, 13 February 2004 21:21:55 UTC