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.