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 27068 - [XT30] Test function-0302 tests element-available on a declaration which has changed between 2.0 (false) and 3.0 (true)
Summary: [XT30] Test function-0302 tests element-available on a declaration which has ...
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: 2014-10-16 00:04 UTC by Abel Braaksma
Modified: 2015-05-06 21:17 UTC (History)
1 user (show)

See Also:


Description Abel Braaksma 2014-10-16 00:04:36 UTC
As in the title. The actual test performed is element-available('xsl:key'), which in 2.0 would return false and in 3.0 would return true (in 3.0 any element defined in the XSLT namespace and in the specification qualifies, including declarations).

I think the proper fix is to mark this test XSLT30+ and change the expected outcome. The significance of the test is not that big to maintain it for XSLT20 as well (there are other tests already for element-available).
Comment 1 Michael Kay 2014-10-27 11:26:48 UTC
The expected result of the test was changed but it was still left as applicable to XSLT 2.0+. I will introduce variants of the test.
Comment 2 Michael Kay 2015-03-20 15:22:53 UTC
According to the metadata, test was fixed on 2014-10-27
Comment 3 Abel Braaksma 2015-05-06 21:17:09 UTC
Was resolved > 30 days ago, closing.