- From: <bugzilla@jessica.w3.org>
- Date: Fri, 02 Mar 2012 12:48:49 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16197 Summary: Precedence of the Simple Map Operator Product: XPath / XQuery / XSLT Version: Last Call drafts Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: XPath 3.0 AssignedTo: jonathan.robie@gmail.com ReportedBy: john.snelson@marklogic.com QAContact: public-qt-comments@w3.org I find the precedence of the simple map operator a little surprising in general use. For instance, this is valid syntax: foo ! bar But this is not valid syntax: foo ! /bar I think we should change the grammar to make this expression valid, as follows: ValueExpr ::= ValidateExpr | SimpleMapExpr | ExtensionExpr SimpleMapExpr ::= PathExpr ("!" PathExpr)* PathExpr ::= ("/" RelativePathExpr?) | ("//" RelativePathExpr) | RelativePathExpr RelativePathExpr ::= StepExpr (("/" | "//") StepExpr)* -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Friday, 2 March 2012 12:48:54 UTC