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