[
https://issues.apache.org/jira/browse/DAFFODIL-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olabusayo Kilo updated DAFFODIL-1590:
-------------------------------------
Fix Version/s: 4.1.0
> setVar evaluates before element terminator
> ------------------------------------------
>
> Key: DAFFODIL-1590
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1590
> Project: Daffodil
> Issue Type: Bug
> Components: Back End, General, Unparsing
> Reporter: Mike Beckerle
> Assignee: Josh Adams
> Priority: Major
> Fix For: 4.1.0
>
>
> So there's a bug here. if setVar is supposed to evaluate (for elements) after
> the entire element, then we shouldn't be passing setVar grammar terms to the
> element combinator, but putting them in the grammar after the element's
> terminator.
> Actually, we need the grammar to pass the grammar regions that include the
> element's initiator and terminator to the ElementCombinator, so that the
> unparseEnd can happen after the setVar, but the setVars happen after the
> terminator.
> So some grammar refactoring is required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)