stevedlawrence opened a new pull request, #1182: URL: https://github.com/apache/daffodil/pull/1182
Daffodil allows use of the deprecated separatorPolicy property and internally maps it to the new separatorSuppressionPolicy property. Unfortunately, according to the OGF Errata document our mapping is wrong, which means suppressedAtEndLax behaves like trailingEmptyStrict and suppressedAtEndStrict behaves like trailingEmpty. This is reversed from how it should be. This fixes that mapping so they have the correct behavior. Deprecation/Compatibility: The deprecated separatorPolicy property values of "suppressedAtEndLax" and "suppressedAtEndStrict" had incorrect behaviors, with each property behaving like the other. Schemas using one value should be updated to use the other. Alternatively, schemas should be updated to use the new separatorSuppressionPolicy property with the following mappings from the deprecated property: * required -> never * suppressed -> anyEmpty * suppressedAtEndLax -> trailingEmpty * suppressedAtEndStrict -> trailingEmptyStrict DAFFODIL-2882 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
