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

removal of hidden elements is broken - interactive debugger

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.0
    • s15
    • API, Debugger
    • None

      on branch serialization-with-dpath4

      InteractiveDebugger.scala - removal of hidden nodes is broken.

      The Infoset implementation of removeHiddenElements function modifies the infoset.

      he Infoset implementation of toXML currently always skips and doesn't create XML for hidden elements.

      The debugger needs to be able to create xml from the infoset either with or without the hidden elements, and without any modification to the infoset happening.

      My guess is the right fix is to have toXML have a removeHidden flag to control whether or not the hidden elements are skipped past or not. Then the removeHiddenElements infoset operation can probably just go away, or rather, just not be used by the interactive debugger. (It might still be useful at the API level to trim off hidden elements before giving back the infoset for programatic consumption.)

              jchab Jessie Chab
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: