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

TDML Runner Unparse: No Unparse Error when Too Much/Too Little Data

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.1.0
    • 1.1.0
    • Unparsing
    • None

      I wrote two negative tests for the Unparse capability of the TDML Runner, where I would expect Unparse Errors. In the first scenario, the element in the input infoset is longer than the specified length in the schema. In the second, the element is shorter than specified. In both cases, the data unparses with no error.

      See tests:
      negativeUnparseTest03
      negativeUnparseTest04
      In the following files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section00/general/testUnparserGeneral.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section00/TestUnparserGeneralDebug.scala

              jchab Jessie Chab
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: