Actions
Bug #1490
closed![Author: Philip Fearon](https://www.gravatar.com/avatar/dd3c76e6c50a14203d6d7d6b989425fc?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Philip Fearon](https://www.gravatar.com/avatar/dd3c76e6c50a14203d6d7d6b989425fc?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
[Possible test-suite issue] When calling fn:substring, a JavaScript 'array limit' exception occurs when length parameter is negative
Start date:
2012-04-20
Due date:
% Done:
100%
Estimated time:
Platforms:
Description
The expected behaviour for fn:substring is that an empty string should be returned when length
is less than 0 - i.e. the behaviour is the same as if the length were 0.
This issue has been fixed (for Saxon-CE Beta 0.2), but investigation is needed to understand why the substring tests in our test suite didn't highlight this.
Please register to edit this issue
Actions