Mike Beckerle created DAFFODIL-2957:
---------------------------------------
Summary: Tests needed for dfdl:decimalSigned="no" unparse of
negative value
Key: DAFFODIL-2957
URL: https://issues.apache.org/jira/browse/DAFFODIL-2957
Project: Daffodil
Issue Type: Bug
Components: Back End
Affects Versions: 3.9.0
Reporter: Mike Beckerle
Tests are needed for whether unparsing a negative value as an element of type
xs:decimal with dfdl:decimalSigned="no" detects an error or not.
When dfdl:binaryNumberRep="bcd" this is definitely an error and should produce
an Unparse error. (IBM DFDL does detect this.)
When dfdl:binaryNumberRep is 'binary', 'packed', or 'ibm4790Packed', the data
stream can represent a negative sign, the question is whether this error is
detected or not.
The DFDL Workgroup wants all implementations to test if this error is detected
currently because if this was clarified in the spec as causing an unparse
error, but current implementations are not detecting this currently, then this
would be a breaking change that would require more careful analysis, and
possibly switches to provide backward compatibility. Or the behavior would just
become "implementation defined".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)