You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2023/06/15 15:35:00 UTC

[jira] [Closed] (DAFFODIL-2821) Optional Time type element shows up in Infoset

     [ https://issues.apache.org/jira/browse/DAFFODIL-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-2821.
-----------------------------------

Verified the specified commit (commit d6709682afc2646dbf26ed32185b17174a600f3a) is included in the latest pull from the daffodil repository.

Verified, via review, changes identified in the commit comment were implemented. 

Verified the affected daffodil subproject sbt test suites executed successfully including the modified and added tests.

> Optional Time type element shows up in Infoset
> ----------------------------------------------
>
>                 Key: DAFFODIL-2821
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2821
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 3.4.0
>            Reporter: Olabusayo Kilo
>            Priority: Major
>             Fix For: 3.5.0
>
>         Attachments: TestAbsentTime.scala, absentTime.tdml
>
>
> If I have an element time, with timeType as below.  When there is no time data, rather than being absent, the following is output :
> {noformat}
> <time>00:00:00</time>{noformat}
> {code:java}
> <element name="time" type="fp:timeType" minOccurs="0"/>
> <simpleType name="timeType" dfdl:calendarPatternKind="explicit" dfdl:calendarPattern="HHmm">
>   <restriction base="xs:time"/>
> </simpleType>{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)