You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/05/20 12:34:03 UTC

[jira] [Closed] (DAFFODIL-1100) Unordered sequence with dfdl:format value of occursCountKind != "parsed" fails to compile

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

Dave Thompson closed DAFFODIL-1100.
-----------------------------------

Closed due to no activity and  no re-occurrence. If the issue re-occurs the ticket can be reopened or addressed in a new one.

> Unordered sequence with dfdl:format value of occursCountKind != "parsed" fails to compile
> -----------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1100
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1100
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End, General
>            Reporter: Steve Lawrence
>            Assignee: Josh Adams
>            Priority: Major
>             Fix For: 2.5.0
>
>
> Daffodil performs checks to ensure the occursCountKind="parsed" for arrays and optional elements inside an unordered sequence. However, when we convert a unordered sequence to a sequence of choices, we create temporary elements that do not specify occursCountKind. These elements then get occursCountKind from the dfdl:format. If this value is not parsed, daffodil throws an error. We either need to set occursCountKind="parsed" on these temporary elements, or we need to exclude these elements when checking this restriction.



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