Project

Profile

Help

Bug #1943

Bug in substring() when $start < 1

Added by Michael Kay about 4 years ago. Updated 18 days ago.

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

0%


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

History

#1 Updated by Michael Kay 18 days 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