Commons JXPath
  1. Commons JXPath
  2. JXPATH-90

Upper boundary check is missing from substring(<string>, <number>)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2 Final, Nightly Builds
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      Test case:
      substring( "" ,9)

        Activity

        Hide
        Sergey Vladimirov added a comment - - edited

        Hmmm....
        Test cas in CoreFunctionTestcase covers this case, and it works.
        But it not works for me when i'm working with variables.

        Trying to extract working test case

        But upper boundary check is still missing from substring

        Show
        Sergey Vladimirov added a comment - - edited Hmmm.... Test cas in CoreFunctionTestcase covers this case, and it works. But it not works for me when i'm working with variables. Trying to extract working test case But upper boundary check is still missing from substring
        Hide
        Sergey Vladimirov added a comment -

        Sorry, issue is already fixed by Dmitriy at 21.03.07
        (Revision 387363)

        Closing as Duplicate.

        Show
        Sergey Vladimirov added a comment - Sorry, issue is already fixed by Dmitriy at 21.03.07 (Revision 387363) Closing as Duplicate.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sergey Vladimirov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development