You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2022/10/06 16:27:00 UTC

[jira] [Created] (DAFFODIL-2737) Need warning when anonymous choices, anonymous choice branches

Mike Beckerle created DAFFODIL-2737:
---------------------------------------

             Summary: Need warning when anonymous choices, anonymous choice branches
                 Key: DAFFODIL-2737
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2737
             Project: Daffodil
          Issue Type: New Feature
          Components: Front End
    Affects Versions: 3.3.0
            Reporter: Mike Beckerle


Many systems we want to integrate with Apache Daffodil do not support anonymous choices. They require the choice (aka union) to be named.

Furthermore, they require each choice branch to be a named element, not a sequence of multiple elements. 

In Daffodil, if a choice is not _effectively_ the model-group of an element, we need a warning to that effect.

We say "not effectively the model-group" because preceding or surrounding sequences that contain only DFDL statements should be allowed, and hidden groups can be ignored as well. 

Similarly, if a choice branch does not contain a single element, we need a warning. 

A way to escalate such warnings to errors is needed (DAFFODIL-2735).

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)