Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2005

dateTime types without milliseconds precision should not output .000000

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • Back End
    • None

    Description

      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.

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            slawrence Steve Lawrence
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: