Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2821

Optional Time type element shows up in Infoset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • Back End
    • None

    Description

      If I have an element time, with timeType as below.  When there is no time data, rather than being absent, the following is output :

      <time>00:00:00</time>
      <element name="time" type="fp:timeType" minOccurs="0"/>
      
      <simpleType name="timeType" dfdl:calendarPatternKind="explicit" dfdl:calendarPattern="HHmm">
        <restriction base="xs:time"/>
      </simpleType>

      Attachments

        1. absentTime.tdml
          3 kB
          Olabusayo Kilo
        2. TestAbsentTime.scala
          0.3 kB
          Olabusayo Kilo

        Activity

          People

            Unassigned Unassigned
            okilo@tresys.com Olabusayo Kilo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: