This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28336 - [XT30] match-132 has a PredicatePattern with a numeric value > 1, should select nothing
Summary: [XT30] match-132 has a PredicatePattern with a numeric value > 1, should sele...
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2015-03-25 18:25 UTC by Abel Braaksma
Modified: 2015-05-06 21:18 UTC (History)
1 user (show)

See Also:


Description Abel Braaksma 2015-03-25 18:25:03 UTC
A PredicatePattern containing a numeric predicate other than 1 matches nothing, from the spec: "A predicate with the numeric value 1 (one) always matches, and a predicate with any other numeric value never matches."

This test assumes otherwise.
Comment 1 Michael Kay 2015-03-25 19:26:02 UTC
I agree with your analysis.
Comment 2 Michael Kay 2015-03-25 21:49:39 UTC
See also bug 12455, which caused the spec to change.

Test fixed.
Comment 3 Abel Braaksma 2015-03-26 12:16:21 UTC
We were both fixing the same test, but differently, I have merged the changes.
Comment 4 Abel Braaksma 2015-05-06 21:18:43 UTC
Was resolved > 30 days ago, closing.