CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 16:28:07 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: Sun, 09 Nov 2025 19:21:58 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c87bdc3c799763
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=B4gvjuFRh2yty.ZLA09J98XodWZunnsXSdsj8M.q2xo-1760200087-1.0.1.1-8afc1RSGcloTdKOjvaJ8E1Zr9GM_._nkdxG2G2mNDp8h0Yzjf25.of2SIXpfPTzAaiCRStuaECU37p_NWNVPxELUE5VWqxbIJI3bJi8M9.I; path=/; expires=Sat, 11-Oct-25 16:58:07 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cfba924a3b0bc9-BLR
alt-svc: h3=":443"; ma=86400
Re: [XPath] Legal vaues for a satisfies expression in a quantifier? from scott_boag@us.ibm.com on 2004-01-29 (public-qt-comments@w3.org from January 2004)
Re: [XPath] Legal vaues for a satisfies expression in a quantifier?
- From: <scott_boag@us.ibm.com>
- Date: Thu, 29 Jan 2004 16:20:49 -0500
- To: "Roger L. Costello" <costello@mitre.org>
- Cc: public-qt-comments@w3.org
- Message-ID: <OF999E5130.09ACE5DF-ON85256E2A.00745896-85256E2A.00752FDD@lotus.com>
Hi Roger. I may be misunderstanding your question, but I think the answer is that OrExpr recurses down PathExpr. You can follow the recursion basically by clicking on the first member of the right hand side of the BNF productions. This particular cascade is what implements the built-in precedence. Anyway, I believe the BNF to be correct, and the structure, dumped from the diagnostics of the test parser, is: |XPath | Expr | QuantifiedExpr | Every every $ | VarName part | In in | PathExpr | RootDescendants // | StepExpr | NodeTest | NameTest | QName part | Satisfies satisfies | PathExpr | VarName part | StepExpr | At @ | NodeTest | NameTest | QName discounted Note that the test parser reduces many of the unneeded steps, for instance for ExprSingle to PathExpr, as I think you would for most ASTs. -scott
Received on Thursday, 29 January 2004 16:21:32 UTC