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 20:02:04 UTC

[jira] [Closed] (DAFFODIL-852) Implement runtime checks for lastDeclaredRequiredElement

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

Dave Thompson closed DAFFODIL-852.
----------------------------------

Closing due to no activity.
The specified commit was in the latest pull from the daffodil repository.
The code was peer reviewed per process.
If an issue occurs with the updates it will be addressed in a new tickets.

> Implement runtime checks for lastDeclaredRequiredElement
> --------------------------------------------------------
>
>                 Key: DAFFODIL-852
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-852
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, Diagnostics
>    Affects Versions: s11
>            Reporter: Josh Adams
>            Priority: Major
>             Fix For: 2.3.0
>
>
> This is primarily an issue for cases where an element is maxOccurs="unbounded" occursCountKind="implicit", as this is only allowed on the last required element of a sequence (see DFDL-732)
> So far I believe that we have the compile time checks completed.  However, there are cases where it cannot be determined whether or not an element is required at compile time.  For example:
>  - unbounded/implicit element followed by a choice where a required element is selected at runtime (see edu.illinois.ncsa.daffodil.section14.occursCountKind.TestOCKImplicitNew test_ockImplicit12)
>  - unbounded/implicit element followed by an element where lengthKind=pattern and that pattern can match an empty string. (see edu.illinois.ncsa.daffodil.section14.occursCountKind.TestOCKImplicitNew test_ockImplicit14)



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