innermost() - nodes missing from result
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
innermost(//*) returns an empty sequence.
Updated by Michael Kay about 3 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.
Please register to edit this issue