[
https://issues.apache.org/jira/browse/DAFFODIL-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Adams resolved DAFFODIL-2005.
----------------------------------
Resolution: Fixed
Assignee: Dave Thompson (was: Josh Adams)
Fix Version/s: 2.3.0
This has been fixed in commit 983d8dd5a2718af8cf0cb7c5f99a7df6a90e2e31
> dateTime types without milliseconds precision should not output .000000
> -----------------------------------------------------------------------
>
> Key: DAFFODIL-2005
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2005
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Reporter: Steve Lawrence
> Assignee: Dave Thompson
> Priority: Major
> Fix For: 2.3.0
>
>
> When we output a time to the infoset, we also output it with milliseconds
> precision (i.e. the pattern contains ss.SSSSSS). The extra precision is
> completely valid according to the XSD specification, but the canonical
> representation should not contain the extra precision if it is zero. We
> already have this logic to not include the timezone if one does not exist, so
> we just need similar logic if the seconds is an integer vs decimal.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)