W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

[Bug 28335] [XT30] test match-82a has wrong XSLT version and assumes different priority for parenthesized patterns

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 Mar 2015 19:19:56 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28335-523-VbV8vL1ERj@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I think the test match-082 was originally written for XSLT 2.0, and was then
forked because a 3.0 processor gives a different result. It's perfectly legal
to run a stylesheet with version="2.0" with a 3.0 processor, and the results
are well-defined.

You're right that at some point the rules changed so that match="(doc|cod)" is
now treated as a UnionPattern for priority purposes, which means the second
template rule should be chosen in preference. I propose we simply change the
expected results.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 25 March 2015 19:19:57 UTC

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