I wrote a parserTestCase to accompany a failing unparserTestCase (DFDL-1314 Unparse: escapeEscapeCharacter not behaving properly). This test demonstrates escape blocks, and using an escapeEscapeCharacter to escape them. When running the test, it seems to take quite some time, and eventually errs out with "java.lang.OutOfMemoryError: Java heap space." I've given sbt 6GB of RAM and this still occurs.
The test is parseDelimitedEscapedString04
in the following files:
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section07/escapeScheme/escapeSchemeUnparse.tdml
daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section07/escapeScheme/TestEscapeSchemeUnparseDebug.scala