Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-838

xsd:dateTimes and xsd:times are not canonical.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 2.12.1
    • Jena 2.13.0
    • ARQ
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: