Mike Beckerle created DAFFODIL-2408:
---------------------------------------

             Summary: iCalendar schema + data causes Daffodil to abort
                 Key: DAFFODIL-2408
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2408
             Project: Daffodil
          Issue Type: Bug
    Affects Versions: 2.7.0, 2.3.0
            Reporter: Mike Beckerle
             Fix For: 3.0.0


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.



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

Reply via email to