You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/01/12 12:32:00 UTC

[jira] [Comment Edited] (DAFFODIL-1580) SimpleTypes - Roundtrip Fail - Calendar Bugs

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

Steve Lawrence edited comment on DAFFODIL-1580 at 1/12/21, 12:31 PM:
---------------------------------------------------------------------

Determined this is all behaving as expected and is not a bug in Daffodil or ICU that we originally thought.

Added more tests to confirm this behavior in f5eccdb347568c335cb2c1bbd267ec235fe12893


was (Author: slawrence):
Determine this is all behaving as expected and is not a bug in Daffodil or ICU that we originally thought.

Added more tests to confirm this behavior in f5eccdb347568c335cb2c1bbd267ec235fe12893

> SimpleTypes - Roundtrip Fail - Calendar Bugs
> --------------------------------------------
>
>                 Key: DAFFODIL-1580
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1580
>             Project: Daffodil
>          Issue Type: Bug
>          Components: General, Unparsing
>            Reporter: Taylor Wise
>            Assignee: Steve Lawrence
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> These tests fail to roundTrip in SimpleTypes.tdml due to calendar bugs.
> Tests:
> dateCalendarDaysInFirstWeek
> dateCalendarDaysInFirstWeek2
> dateCalendarDaysInFirstWeek4
> dateCalendarFirstDayOfWeek01
> dateCalendarFirstDayOfWeek02
> dateTimeCalendarDaysInFirstWeek
> dateTimeCalendarDaysInFirstWeek2
> dateTimeCalendarDaysInFirstWeek3
> dateTimeCalendarDaysInFirstWeek4
> dateTimeCalendarDaysIinFirstWeek5
> dateTimeCalendarDaysInFirstWeek6
> timeZoneFormats6
> The timeZoneFormats tests appear to be due to the fact that the original input into the test in Daffodil is 08:43.uslax . This translates into 08:43:00.000000-08:00 in the infoset. On unparsing we expect to receive 08:43.uslax back, however we receive 08:43.unk.  This appears to be due to the fact that the underlying ICU formatting does not recognize the SimpleTimeZone GMT-0800 object that is parsed from the infoset value.  There's a TestFunctionality.scala file that contains a test we expect to fail once this issue is fixed by ICU.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)