You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/09/14 12:40:00 UTC

[jira] [Resolved] (DAFFODIL-1032) Choice with no branches should cause SDE

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

Steve Lawrence resolved DAFFODIL-1032.
--------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Fixed in commit d3c5850d0394fff75ebf3680a5015cbd207cc331

> Choice with no branches should cause SDE
> ----------------------------------------
>
>                 Key: DAFFODIL-1032
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1032
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Diagnostics, Front End
>    Affects Versions: s15
>            Reporter: Elizabeth Fahl
>            Assignee: Rick
>            Priority: Minor
>              Labels: beginner, reverify
>             Fix For: 3.0.0
>
>
> From the spec - A choice that declares no branches in the DFDL schema is a schema definition error.
> See test:
> ngf-dfdl-2789:Choice_noBrances-test_choice_noBranch
> In files:
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section15/choice_groups/choice.tdml
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section15/choice_groups/noBranches.dfdl.xsd
> daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section15/choice_groups/TestChoiceDebug.scala



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