This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Opened: 2005-10-31 18:41 The use of the curly braces in the grammar of FTWord (production 150) is not symmetrical with the use of curly braces in the rest of the XQuery language. [150] FTWords ::= (Literal | VarRef | ContextItemExpr | FunctionCall | ("{" Expr "}")) FTAnyallOption? In any place in the language where a nested expression is expected we use the normal "(" ")" separators. We should change the "{", "}" to "(", ")".
At the face to face meeting we agreed that there was a syntactic ambiguity and curlies are used in other places to solve this sort of problem. Further, full compositionality is useful. On the other hand, things could be simplified to be less confusing; consequently the production will be changed to: FTWords ::= (Literal | ("{" Expr "}")) FTAnyallOption? and the examples changed as necessary.