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 8694 - [XQuery 1.1] grammar ambiguities caused by "switch"
Summary: [XQuery 1.1] grammar ambiguities caused by "switch"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Michael Dyck
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-09 18:08 UTC by Nikolay Ognyanov
Modified: 2010-02-03 03:47 UTC (History)
1 user (show)

See Also:


Attachments

Description Nikolay Ognyanov 2010-01-09 18:08:45 UTC
The new "keyword" "switch" causes multiple grammar ambiguities if used without restrictions. It has to be included in the list of reserved function names for let's say roughly the same reasons why "typeswitch" is already there.
Comment 1 Michael Dyck 2010-02-02 20:25:16 UTC
Quite right. I've added it to the list in appendix A.3.
(Similarly, I also added "namespace-node".)

Consequently, I'm marking this issue as resolved-FIXED.
Please mark it CLOSED to signal your agreement.

 
Comment 2 Nikolay Ognyanov 2010-02-03 03:47:00 UTC
Thank you.