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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: