[Bug 22767] Default priority calculation for parenthesized patterns

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

--- 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