Actions
Bug #6034
closedProblems with saxon:slice()
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
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.
Updated by Michael Kay over 1 year ago
- Status changed from In Progress to Resolved
- Fix Committed on Branch 12, trunk added
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
Actions