Description
Daffodil allows use of the deprecated separatorPolicy property and internally maps it to the new separatorSupressionPolicy property. This is done here:
So our mappings are:
required -> never suppressed -> anyEmpty suppressedAtEndStrict -> trailingEmpty suppressedAtEndLax -> trailingEmptyStrict
However, according to the errata document (https://ogf.org/documents/GFD.214.pdf), the mappings should be:
required -> never suppressed -> anyEmpty suppressedAtEndLax -> trailingEmpty suppressedAtEndStrict -> trailingEmptyStrict
Note that suppressedAtEndStrict and suppressedAtEndLax are swapped and do not match the errata document. Comparing the wording of older versions of the DFDL spec, it does seem like our mapping is incorrect.