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 2021/01/07 21:18:00 UTC

[jira] [Assigned] (DAFFODIL-1590) setVar evaluates before element terminator

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

Mike Beckerle reassigned DAFFODIL-1590:
---------------------------------------

    Assignee: Josh Adams

> 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
>
> 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.3.4#803005)