Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1590

setVar evaluates before element terminator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.0.0
    • Back End, General, Unparsing
    • None

    Description

      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.

      Attachments

        Activity

          People

            jadams_tresys Josh Adams
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: