CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 07:27:41 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:50:23 GMT
cache-control: max-age=2592000, public
expires: Sun, 09 Nov 2025 19:22:20 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c87c67bc16dc48
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=PH2YU5G_XkA_N9lNoPjOLPSR2UsOIhPGlzNM_w5eC5A-1760167661-1.0.1.1-Kng5onsGHdWQpgXvJlb5NVCZDuO_v8UR4yHQvtPq.aKYYdUdXhxCYEo7Lj2t7VA3xbXeBk8DiBeQi7UTkLrRhFLCB6CHNZsoEcA_W0R9.Yw; path=/; expires=Sat, 11-Oct-25 07:57:41 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cca2e7fc84c537-BLR
alt-svc: h3=":443"; ma=86400
Re: [XQuery] MS-XQ-LC1-146 from scott_boag@us.ibm.com on 2004-02-23 (public-qt-comments@w3.org from February 2004)
Re: [XQuery] MS-XQ-LC1-146
- From: <scott_boag@us.ibm.com>
- Date: Mon, 23 Feb 2004 14:31:05 -0500
- To: "Michael Rys" <mrys@microsoft.com>
- Cc: public-qt-comments@w3.org, public-qt-comments-request@w3.org
- Message-ID: <OF790F85BE.E285CF37-ON85256E43.00595A4A-85256E43.006B377E@lotus.com>
Hi Michael. Paul wanted me to give high priority to answering this particular issue (original mail at [1]). Since the November document, the WG has agreed to change the precedence of instance-of, treat, castable, and case (in response to a previous issue raised [2] by you). The precedence table is now looking more like: 1 (comma) 2 FLWORExpr, some, every, TypeswitchExpr, IfExpr 3 or 4 and 5 eq, ne, lt, le, gt, ge, =, !=, <, <=, >, >=, is, <<, >> 6 to 7 +, - 8 *, div, idiv, mod 9 unary -, unary + 10 union, | 11 intersect, except 12 instance of 13 treat 14 castable 15 cast 16 ValidateExpr, /, // 17 [ ], ( ) so that these operators bind much more tightly. In the most recent test parser, your expression parses fine: Type Expression: "1" cast as xs:integer = "1.0" cast as xs:integer |QueryList | Module | MainModule | Prolog | QueryBody | Expr | ComparisonExpr = | CastExpr | PathExpr | StringLiteral "1" | CastAs cast as | SingleType | AtomicType | QNameForAtomicType xs:integer | CastExpr | PathExpr | StringLiteral "1.0" | CastAs cast as | SingleType | AtomicType | QNameForAtomicType xs:integer Please let me know if this previously decided issue resolves MS-XQ-LC1-146 in your view. Thanks! -scott [1] [XQuery] MS-XQ-LC1-146 https://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0801.html [2] Grammar issue: cast as https://lists.w3.org/Archives/Member/w3c-xml-query-wg/2003Oct/0063.html
Received on Monday, 23 February 2004 14:31:47 UTC