Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1660

Expression with sub paths to not evaluate correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Back End
    • Labels:
      None

      Description

      A user has reported an error in which we have a expression like so:

      { ../../foo[../bar] }

      In this case, DPath is able to successfully traverse the ../../foo expression, setting currentNode to foo. But when it tries to execute the ../bar subexpression, it uses the current node as it's context. The ../bar subexpression should be executed with the original context, but is instead executed with a currentNode of foo, which causes a failure.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              dthompson David Thompson
              Reporter:
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks

                  Progress: 
                   0/0