Project

Profile

Help

Bug #6034

closed

Problems with saxon:slice()

Added by Michael Kay over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2023-05-11
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

A few problems with this extension function.

  • It has the same bug #6029 as fn:items-at() (which reused the same code) - the results are incorrect if the second argument is an integer range such as 4 to 6.
  • I can't find any test cases
  • The documentation lists a number of examples in which an argument to the function uses the syntax "M by S to N" which has never been fully implemented, tested, or documented, and which is about to be withdrawn on the grounds that it's no longer being actively proposed for XPath 4.0
Actions #1

Updated by Michael Kay over 1 year ago

Firstly, I've fixed the bug.

Secondly, I've added test cases to qt3extra.

Thirdly, I'm updating the documentation to remove the offending examples and to add information on the status of the function.

Actions #2

Updated by Michael Kay over 1 year ago

  • Status changed from In Progress to Resolved
  • Fix Committed on Branch 12, trunk added
Actions #3

Updated by O'Neil Delpratt over 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 12.3 added

Bug fix applied in the Saxon 12.3 maintenance release.

Please register to edit this issue

Also available in: Atom PDF