JiBX
  1. JiBX
  2. JIBX-225

Utility.deserializeDateTime() cannot handle values containing "T24:00:00"

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JiBX 1.1.6
    • Fix Version/s: JiBX 1.2.2
    • Component/s: core
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      http://www.w3.org/TR/xmlschema-2/#dateTime permits "T24:00:00" in xs:dateTime to represent midnight at the end of the day. But JiBX throws JiBXException when asked to deserialize this because it does not permit hours greater than 23.

        Activity

        Hide
        Eleanor Joslin added a comment -

        CVS patch containing suggested fix.

        Show
        Eleanor Joslin added a comment - CVS patch containing suggested fix.
        Hide
        Dennis Sosnoski added a comment -

        Fixed this and added test cases.

        Show
        Dennis Sosnoski added a comment - Fixed this and added test cases.

          People

          • Assignee:
            Dennis Sosnoski
            Reporter:
            Eleanor Joslin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: