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

InputValueCalc should not be used in dfdl:format

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.0
    • s15
    • Front End
    • None

      From requirements for inputValueCalc, "It is not possible to place this property in scope on a dfdl:format annotation." The test for this is using a schema that has inputValueCalc defined in format. The test parses and uses the value from inputValueCalc on the element instead of having an error.

      See test in:
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section17/calc_value_properties/TestInputValueCalcDebug.scala
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section17/calc_value_properties/inputValueCalc.tdml

      Test:
      ngf-dfdl-2781:InputValueCalc-test_InputValueCalc_in_format

              efinnegan Elizabeth Finnegan
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: