Description
I wrote an unparser test case for the scenario when an escapeChar is the same as the separator. This test behaves as expected. However, the parser equivalent does not.
Input:
test#double te##st
|
I would expect the first # to separate the two elements. The second would escape the third, resulting in:
<e1>test</e1>
|
<e2>double te#st</e2>
|
However, the result is the following:
<e1>test</e1>
|
<e2>double te</e2>
|
See test parseDelimitedEscapedString05
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