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.
        Eleanor Joslin made changes -
        Field Original Value New Value
        Attachment jibx.diff [ 35348 ]
        Dennis Sosnoski made changes -
        Assignee Dennis Sosnoski [ dsosnoski ]
        Hide
        Dennis Sosnoski added a comment -

        Fixed this and added test cases.

        Show
        Dennis Sosnoski added a comment - Fixed this and added test cases.
        Dennis Sosnoski made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s JiBX 1.2.2 [ 15120 ]
        Dennis Sosnoski made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: