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

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: