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

        Sergey Vladimirov created issue -
        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.
        Sergey Vladimirov made changes -
        Field Original Value New Value
        Fix Version/s 1.3 [ 12312253 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Duplicate [ 3 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        11m 20s 1 Sergey Vladimirov 18/Jun/07 16:03

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development