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

Please register to edit this issue

Also available in: Atom PDF