Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-90

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
        bsp 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
        bsp 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
        bsp Sergey Vladimirov added a comment -

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

        Closing as Duplicate.

        Show
        bsp 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:
            bsp Sergey Vladimirov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development