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

Calling setVariable twice results in Parse Error instead of Schema Definition Error

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.0
    • None
    • None
    • None

      Calling setVariable more than once results in a Parse Error but the spec states that this should be a Schema Definition Error.

      "Even if the errors are detected at processing time, the errors associated with write-after-read, and double-write are schema definition errors because they indicate the schema is not properly designed to use variables consistent with their single-assignment behavior."

      See test doubleSetErr in daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section07/variables/TestVariables.scala for the current behavior.

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

                Created:
                Updated:
                Resolved: