-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Whenever the occursCount function should return the value of one, this error is seen instead:
[error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_occursCount_1b failed: java.lang.Exception: Runtime Schema Definition Error: dfdl:occursCount did not receive a NodeSeq back, check your path.
The exact same schema works when occursCount is greater than 1.
See tests:
occursCount_1b
occursCount_3b
in the following files:
- modified: daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
- modified: daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
- modified: daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala