[Bug 16197] [XP30] Precedence of the Simple Map Operator

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16197

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #2 from Michael Kay <mike@saxonica.com> 2012-05-21 23:27:19 UTC ---
I think I'm persuaded. It seems that (apart from a syntactic interaction with
edge cases involving lone-slash), the only impact is on expressions that use
"/" to the right of "!". And it's hard to construct realistic examples where
(under the current rules) such a use of "!" is usefully different from "/",
given that the lhs of "/" has to be nodes, and the "/" does any
document-ordering that the "!" might otherwise have prevented. So the current
precedence rules don't allow you to do anything very useful, wheras the
proposed precedence rules allow expressions such as

$page//@href ! doc(.)//title

where the fact that "!" doesn't do document-ordering is potentially useful.

-- 
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 Monday, 21 May 2012 23:27:44 UTC