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)

Reply via email to