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

Property inputValueCalc should not be on element that is optional, global, or an array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • s15
    • 2.4.0
    • Diagnostics, Front End
    • None

    Description

      According to the spec, inputValueCalc should not be used on an element that is optional, global, or an array. The tests for these conditions are currently parsing and not throwing any errors.

      See tests 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

      Tests:
      ngf-dfdl-2777:InputValueCalc-test_InputValueCalc_optional_elem
      ngf-dfdl-2779:InputValueCalc-test_InputValueCalc_global_elem
      ngf-dfdl-2778:InputValueCalc-test_InputValueCalc_array_elem

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            efahl Elizabeth Fahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: