I created a test that expects a Schema Definition Error. When running the test, there is a correct SDE but it doesn't get caught and so the test fails with the SDE.
See test:
ngf-dfdl-2782:Variables_r2-test_doubleEmptyDefault
In the files:
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section07/variables/variables.tdml
daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section07/variables/TestVariablesDebug.scala