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

Validation: Behavior goes against Req DFDL-2-027R

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s11-M1, s11
    • s11
    • None
    • None

      According to requirement DFDL-2-027R, "Validation errors should not be suppressed by points of uncertainty"

      I set up a choice where, due to an initiator, the first element is chosen. The data provided is not valid for the type, and it is also not valid for the facet attached to the element. I get a Parse Error as expected, but according to this requirement, I should also be seeing validation errors. I expect validation errors in the test, and the test is currently passing even though no validation errors are occurring.

      Please see tests choice_errorNotSuppressed_01 and choice_errorNotSuppressed_02 in the following files:

      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section02/validation_errors/Validation.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section02/validation_errors/TestValidationErrDebug.scala
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section02/validation_errors/TestValidationErr.scala

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

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 42 minutes
                  42m