Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1080

RepUnbounded Error: Sequence of Optional Comma-separated String items

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            daffodil-jchab Jessie Chab
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: