The bug is invalid because the XQuery grammar requires to parenthesis the quantified expression as follows:
for $i in 1 to 10 where $i mod 2 eq 0 and (some $j in 1 to 20 satisfies $j - $i = 2) return $i ** Changed in: zorba Status: New => Invalid -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/926507 Title: invalid parse error related to quantified expr Status in Zorba - The XQuery Processor: Invalid Bug description: for $i in 1 to 10 where $i mod 2 eq 0 and some $j in 1 to 20 satisfies $j - $i = 2 return $i invalidly raises '2,30: static error [err:XPST0003]: invalid expression: syntax error, unexpected "$"'. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/926507/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp