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

Mike Beckerle updated DAFFODIL-2646:
------------------------------------
    Priority: Minor  (was: Major)

> Choice diagnostics too verbose
> ------------------------------
>
>                 Key: DAFFODIL-2646
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2646
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End, Diagnostics
>    Affects Versions: 3.2.1
>            Reporter: Mike Beckerle
>            Priority: Minor
>
> When a choice has been discriminated, the diagnostics if the discriminated 
> branch fails should NOT include 
> {code:java}
> Parse Error: All choice alternatives failed {code}
> Because a discriminator isolates things to one branch. 
> A choice could backtrack through a few alternatives, eventually hit a 
> discriminator, and then fail. There may be branches that were never attempted 
> (after the branch where the discriminator occurred) hence, it is simply wrong 
> to say all alternatives failed, as there were potentially alternatives that 
> were never tried. 
> But really, once a discriminator has been evaluated to true, then the choice 
> should not be creating any diagnostics about the choice itself, or at worst 
> it should be saying "Choice Discriminated Branch Failure" only about the one 
> branch. 



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

Reply via email to