This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2479 - use of curly braces in the grammar of FTWord
Summary: use of curly braces in the grammar of FTWord
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Mary Holstege
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 15:02 UTC by Daniela Florescu
Modified: 2006-03-09 23:37 UTC (History)
0 users

See Also:


Attachments

Description Daniela Florescu 2005-11-08 15:02:00 UTC
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 "(", ")".
Comment 1 Mary Holstege 2006-02-01 21:01:43 UTC
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.