Andy Seaborne created JENA-838:
----------------------------------

             Summary: xsd:dateTimes and xsd:times are not canonical.
                 Key: JENA-838
                 URL: https://issues.apache.org/jira/browse/JENA-838
             Project: Apache Jena
          Issue Type: Bug
          Components: ARQ
    Affects Versions: Jena 2.12.1
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
            Priority: Minor
             Fix For: Jena 2.12.2


The time part always includes milliseconds even when zero.

XSD defines the fractional part to be the minimum length (i.e. not ending in 
zero). Jena has traditionally used milliseconds (3 places). Fixed format is 
easier for the date formatters.

A compromise is no fractional part when milliseconds is zero and 3 decimal 
places when milliseconds is non-zero.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to