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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: Unparsing
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks