Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
I set up a schema with a nested sequence. The sequence contains a comma-delimited sequence of a recurring string element, with minOccurs 0, maxOccurs 10. The second item of the top-level sequence is a boolean with inputValueCalc. I get the following error:
[error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_empty_02 failed: edu.illinois.ncsa.daffodil.processors.ParseError: Parse Error: RepUnbounded - No forward progress at byte 0. Attempt to parse element.item succeeded but consumed no data.
[error] Please re-examine your schema to correct this infinite loop.
works when items are ints, not strings.
See test empty_02 in the following files:
scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml