Bug #4742
closedinnermost() - nodes missing from result
100%
Description
If the last node in the input sequence supplied to fn:innermost() is a descendant of the penultimate node in the sequence, then it does not appear in the result.
Test case innermost-059 added to QT3.
Example: with the document <a><b/></a>
, innermost(//*)
returns an empty sequence.
Updated by Michael Kay about 4 years ago
- Status changed from New to In Progress
I have reimplemented innermost() using a Javascript generator function, and the test is now working.
Updated by Michael Kay about 4 years ago
- Status changed from In Progress to Resolved
- Applies to JS Branch Trunk added
- Fix Committed on JS Branch Trunk added
Fixed by rewriting innermost() to use a generator function.
Note: I haven't actually confirmed whether or not there is a bug on the issued 2.0 release.
Updated by Debbie Lockett over 3 years ago
- Applies to JS Branch 2 added
- Applies to JS Branch deleted (
Trunk) - Fix Committed on JS Branch 2 added
- Fix Committed on JS Branch deleted (
Trunk)
Updated by Debbie Lockett over 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 2.1
Bug fix applied in the Saxon-JS 2.1 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page