This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The scripting grammar has the following ambiguity: replace node exit with exit with exit This can be interpreted in the following two ways: replace node (exit) with (exit with exit) replace node (exit with exit) with (exit) Althoug the semantics of the language does not allow such construct (only simple expressions are allowed in a RenameExpr), this make life hard for parsing the language. A solution for this would be to replace the keyword "with" with "value" in the ExitExpr Best regards, Gabriel Petrovay 28msec Inc.
Thank you for your bug report. The XQuery WG discussed this on 2009/05/12 and resolved to fix this problem by changing the syntax to "exit returning". If you agree with this solution, please close this bug report.