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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2 Final
    • 1.3
    • None
    • 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

            mbenson Matthew Jason Benson
            mbenson Matthew Jason Benson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: