[
https://issues.apache.org/jira/browse/DAFFODIL-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence updated DAFFODIL-2375:
-------------------------------------
Summary: Warn when it is impossible to unparse a choice branch (was:
Multiple calls to setVariable when unparsing choice branches)
> Warn when it is impossible to unparse a choice branch
> -----------------------------------------------------
>
> Key: DAFFODIL-2375
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2375
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Affects Versions: 2.7.0
> Reporter: Josh Adams
> Assignee: Josh Adams
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Discovered this issue while working on a schema project.
> While the schema parses fine, for some reason multiple SetVariable parsers
> are getting instantiated for the same variable, which causes a double-set
> error to occur.
>
> See test_choiceBranchVariables in
> daffodil-test/src/test/scala/org/apache/daffodil/section07/variables/TestVariables.scala
> for a test that demonstrates this issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)