Project

Profile

Help

Bug #1490

closed

[Possible test-suite issue] When calling fn:substring, a JavaScript 'array limit' exception occurs when length parameter is negative

Added by Philip Fearon over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sprint/Milestone:
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.

Actions #1

Updated by Philip Fearon over 12 years ago

  • Fixed in version set to Beta 0.2
Actions #2

Updated by Philip Fearon over 12 years ago

  • Sprint/Milestone set to Beta 0.2
  • Found in version set to Beta 0.1
Actions #3

Updated by Philip Fearon over 12 years ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by O'Neil Delpratt almost 12 years ago

  • Status changed from Resolved to Closed
  • Fixed in version changed from Beta 0.2 to 1.0

Fixed in Saxon-CE version 1.0

Actions #5

Updated by O'Neil Delpratt almost 12 years ago

  • Sprint/Milestone changed from Beta 0.2 to Release 1.0
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF