[
https://issues.apache.org/jira/browse/DAFFODIL-2957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olabusayo Kilo resolved DAFFODIL-2957.
--------------------------------------
Resolution: Fixed
Fixed in 4e6383ebcf0605c8ffe1e496c09c1f69e9a1d493
> dfdl:decimalSigned="no" bugs with negative values and data representations
> --------------------------------------------------------------------------
>
> 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
> Assignee: Olabusayo Kilo
> Priority: Minor
> Fix For: 4.1.0
>
>
> 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)