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

relational operations do not function properly when comparing a non-Iterator LHS to an Iterator RHS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      I have a simple JXpathContext, with the following variables: var1=0, var2=0, var3=1. When I try to evaluate the following expression - "$var1 + $var2 <= $var3", it returns false.

        Attachments

        1. TestClass.java
          0.9 kB
          Alexander Koledzhikov
        2. CoreOperationRelationalExpression.java
          5 kB
          Alexander Koledzhikov

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              akoledzhikov Alexander Koledzhikov
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: