[
https://issues.apache.org/jira/browse/DAFFODIL-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Beckerle resolved DAFFODIL-2546.
-------------------------------------
Resolution: Won't Do
The DAFFODIL-2353 solution allows use of xs:long as the representation, yet
dfdl:outputValueCalc and dfdl:inputValueCalc can be used to present the data
to/from user-visible elements as floating point.
I do not believe there is any further use case motivating keeping this ticket
open.
> Customizable float/double infoset representation
> -------------------------------------------------
>
> Key: DAFFODIL-2546
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2546
> Project: Daffodil
> Issue Type: New Feature
> Reporter: Steve Lawrence
> Priority: Minor
>
> Daffodil's default InfosetOutputters use the Float/Double.toString() function
> for converting float/doubles to a string to be output to an infoset. For some
> values, the Java toString implementation will switch to scientific notation,
> which not all consumers can easily handle. We should add a tunable or some
> other configuration so that users can have some control over how
> float/double's are converted to a string so that this can be disable or the
> range changed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)