Project

Profile

Help

Bug #4742

closed

innermost() - nodes missing from result

Added by Michael Kay over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath Conformance
Sprint/Milestone:
-
Start date:
2020-09-21
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

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.

Actions #1

Updated by Michael Kay over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Michael Kay over 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.

Actions #3

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.

Actions #4

Updated by Debbie Lockett almost 4 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)
Actions #5

Updated by Debbie Lockett almost 4 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