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

iCalendar schema + data causes Daffodil to abort

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.0, 2.7.0
    • 3.0.0
    • None
    • None

    Description

      A user is using Daffodil 2.3.0 with the iCalendar DFDL schema, and has provided an ".ics" file.

      These cause Daffodil 2.3.0 to fail with invariant failed.

      I have verified that these also cause problems (but not the same one) on Daffodil 2.7.0 with the latest iCalendar schema I have access to.

      On 2.7.0 Daffodil this aborts when run with a trace, and without a trace it parses producing an empty iCalendar element, without error. It doesn't even complain about not consuming the data. This is of course nonsense. There's plenty of data, and an empty icalendar element isn't valid. It has a required vcalendar child element. (You have to turn validation off to get the empty icalendar result, otherwise you get validation errors)

      Contact mbeckerle for the associated files.

      Attachments

        1. dfdl_2_3_ics_excep.zip
          487 kB
          Mike Beckerle

        Activity

          People

            sramaka Shashi Ramaka
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: