I wrote tests with more than 1 AND/OR but only the first 2 arguments seem to be evaluated. i.e. "x and y and z" only evaluated "x and y".
See tests:
test_sequential_and_04
test_sequential_or_04
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