Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-620

Implicit time calendarPattern should use ZZZ, not zzz

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: s10
    • Component/s: None
    • Labels:
      None

      Description

      I was working on verifying the fix for DFDL-557, including the tests in the ibm-contributed directory in daffodil-core. I noticed that test simple_type_properties_text_calendar_13_02 used the implicit calendarPattern for time, but the timezone information was in the form +01:00, and it was failing with our parser. I looked at the formatting and saw that the default format is HH:mm:ssZZZ, and ZZZ is the timezone offset, just like the IBM test used. In ours, it accepts 'GMT' (which is zzz) but not "+01:00" (ZZZ). This is most likely my fault because I originally pointed out that the implicit format should require the timezone, but my tests were wrong in that they used GMT instead of the hour offset. I'm working on fixing the tests and moving them to scala-debug.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jchab Jessie Chab
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks