[Bug 30015] TransformWithExpr and ArrowExpr grammar entries conflict for Update Facility 3.1

https://www.w3.org/Bugs/Public/show_bug.cgi?id=30015

--- Comment #6 from Michael Dyck <jmdyck@ibiblio.org> ---
According to the minutes of meeting #596 (2015-01-27), when the WG decided to
change the precedence of TransformWithExpr wrt the XQuery 3.0 grammar, there
was also some discussion of where it should fit wrt the XQuery *3.1* grammar
(specifically ArrowExpr). The upshot is that, in our grammar/parser/applet
system, if you request the 'xquery31' base with the 'update30' extension, you
get the productions:
  CastExpr ::= TransformWithExpr ("cast" "as" SingleType)?
  TransformWithExpr ::= ArrowExpr ("transform" "with" "{" Expr? "}")?
  ArrowExpr ::= UnaryExpr ("=>" ArrowFunctionSpecifier ArgumentList)*
  UnaryExpr ::= ...

Note that, while this answers your original question, it isn't really an
official answer, because xquery31+update30 isn't an authorized combination of
specifications. (If Update 3.1 ever comes to pass, it might decide to place
TransformWithExpr differently.) However, the likelihood seems high that it's
the closest thing you'll ever get to an official answer.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 21 November 2016 03:09:52 UTC