W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2013

[Bug 22767] Default priority calculation for parenthesized patterns

From: <bugzilla@jessica.w3.org>
Date: Tue, 23 Jul 2013 10:55:36 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-22767-523-qFGdvgadyq@http.www.w3.org/Bugs/Public/>

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Your understanding of the current specification is correct.

Basing the default priority on the syntactic form of the pattern has always had
the potential to create anomalies, for example many people are caught out that
match="//a" has a different priority to match="a". We have to find a compromise
between keeping the rules simple and easy to explain, and giving intuitive
results for people who do not know the rules.

It would certainly be possible to have a rule that redundant outer parentheses
are stripped before applying the other rules.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 23 July 2013 10:55:37 UTC

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