Commons JXPath
  1. Commons JXPath
  2. JXPATH-94

equality test for multi-valued variables does not conform to spec

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Final
    • Fix Version/s: 1.3
    • Labels:
      None
    • Environment:

      any

      Description

      given e.g. variable d=

      {"a", "b"}

      , the spec implies that "$d = 'a'" and that "$d = 'b'". Instead of iterating the variable's components its immediate content (here, the String[]) is compared, causing the aforementioned assertions to fail.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        35m 35s 1 Matt Benson 10/Jul/07 20:28
        In Progress In Progress Resolved Resolved
        1m 2s 1 Matt Benson 10/Jul/07 20:29
        Hide
        Matt Benson added a comment -

        Not sure yet. But if you feel like re-testing against trunk code and it turns out that I accidentally fixed it, feel free!

        Show
        Matt Benson added a comment - Not sure yet. But if you feel like re-testing against trunk code and it turns out that I accidentally fixed it, feel free!
        Hide
        Sergey Vladimirov added a comment -

        Seems like a dublicate of JXPATH-93 for me

        Show
        Sergey Vladimirov added a comment - Seems like a dublicate of JXPATH-93 for me
        Matt Benson made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        Matt Benson added a comment -

        fixed in trunk!

        Show
        Matt Benson added a comment - fixed in trunk!
        Matt Benson made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Matt Benson created issue -

          People

          • Assignee:
            Matt Benson
            Reporter:
            Matt Benson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development