You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rhdunn opened this issue
Jan 16, 2021
· 3 comments
Labels
BugSomething that doesn't work in the current specificationEditorialMinor typos, wording clarifications, example fixes, etc.XQueryAn issue related to XQuery
The grammar and examples are mismatched (including in the XPath grammar). If the intention is to have the 'member' keyword on the binding, and not allow mixing member and sequence for clauses, the XPath grammar should be something like:
The example there is also for member $x in $expr1, member $y in $expr2 not for member $x in $expr1, $y in $expr2
Being able to mix arrays and sequences is much more flexible. Especially in XPath. In XQuery you can write mix for member $x in $expr1, $y in $expr2 as for member $x in $expr1 for $y in $expr2 but in XPath you would need for member $x in $expr1 return for $y in $expr2 which is a little longer
rhdunn
added
Bug
Something that doesn't work in the current specification
XQuery
An issue related to XQuery
Editorial
Minor typos, wording clarifications, example fixes, etc.
labels
Sep 14, 2022
BugSomething that doesn't work in the current specificationEditorialMinor typos, wording clarifications, example fixes, etc.XQueryAn issue related to XQuery
The latest editor's draft (13 January 2021) moves the
member
keyword to a newForMemberClause
symbol:With this change, the
ForMemberBinding
syntax has retained the optionalmember
keyword from the previous change toForBinding
:This means that
for member member ...
andfor member $a in [], member $b in [] ...
are valid with the current grammar.The
ForMemberBinding
grammar should be:The text was updated successfully, but these errors were encountered: