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

Steve Lawrence resolved DAFFODIL-2821.
--------------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

Fixed in commit d6709682afc2646dbf26ed32185b17174a600f3a

> 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)

Reply via email to