Project

Profile

Help

Bug #1943

closed

Bug in substring() when $start < 1

Added by Michael Kay over 10 years ago. Updated over 6 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
2013-12-03
Due date:
% Done:

0%

Estimated time:
Platforms:

Description

While playing around with Saxon-CE, I found that fn:substring behaves

different from what it should be when the starting location is less

than 1:

fn:substring("ABC", 0, 2)

should return "A", but it is "AB" on Saxon-CE 1.1.

Reported by Gunther Rademacher today on saxon-help list

Actions #1

Updated by Michael Kay over 6 years ago

  • Status changed from New to Won't fix

Closing remaining Saxon-CE issues as "won't fix" since the product is now superseded by Saxon-JS and there is no plan to do any further maintenance.

Please register to edit this issue

Also available in: Atom PDF