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

        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
        Hide
        Matt Benson added a comment -

        fixed in trunk!

        Show
        Matt Benson added a comment - fixed in trunk!

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development