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

DPath: AND/OR does not seem to evaluate sequentially

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.0
    • s15
    • Back End
    • None

      I wrote tests with and/or that included a parse error in the second part of the operator. Since we were expecting these operators to evaluate sequentialy, I was expecting the parse error to not be hit when the first part of "and" evaluated to false and when the first part of "or" evaluated to true but that was not the case.

      See tests:
      test_sequential_and_01
      test_sequential_or_01

      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: