You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/30 22:04:13 UTC

[jira] [Commented] (JENA-838) xsd:dateTimes and xsd:times are not canonical.

    [ https://issues.apache.org/jira/browse/JENA-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261491#comment-14261491 ] 

ASF subversion and git services commented on JENA-838:
------------------------------------------------------

Commit 311ee927f9c51e8e56671a4bb8728421a5534d9f in jena's branch refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=311ee92 ]

JENA-838 : Sort of canonical time portions.

> 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)