W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2012

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 21 May 2012 23:27:20 +0000
To: public-qt-comments@w3.org
Message-Id: <E1SWc0W-0006Pk-W7@jessica.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:38 UTC