Bug #4742
Updated by Michael Kay about 4 years ago
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>`, `<a></b></a>`, `innermost(//*)` returns an empty sequence.