Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1194

DPath: OR followed by AND not evaluating properly

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • 1.0.0
    • 1.0.0
    • None
    • None

      Tests with both AND/OR operators in the same expression do not evaluate as I expected when OR is first.

      I was expecting (true OR true AND false) to evaluate to false but it returns true. The other way around seems to work though - (true AND false OR true) evaluated to true.

      See tests:
      test_sequential_and_or_02
      test_sequential_and_or_05
      test_sequential_and_or_07

      In files:
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/expressions.tdml

              efinnegan Elizabeth Finnegan
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: