You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2018/09/14 19:43:00 UTC
[jira] [Created] (DAFFODIL-2005) dateTime types without
milliseconds precision should not output .000000
Steve Lawrence created DAFFODIL-2005:
----------------------------------------
Summary: 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
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)