[
https://issues.apache.org/jira/browse/DAFFODIL-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17217698#comment-17217698
]
Shashi Ramaka commented on DAFFODIL-2408:
-----------------------------------------
The test file that is failing has inline binary content. The iCalendar schema
has to be updated to correctly parse inline binary BASE64 encoded content.
Example inline binary content in an ics file:
{quote}ATTACH;FMTTYPE=text/plain;ENCODING=BASE64;VALUE=BINARY:VGhlIH
F1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4{quote}
> 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.3.0, 2.7.0
> Reporter: Mike Beckerle
> Assignee: Shashi Ramaka
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: dfdl_2_3_ics_excep.zip
>
>
> 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)