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

removal of hidden elements is broken - interactive debugger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • s15
    • 1.0.0
    • API, Debugger
    • None

    Description

      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.)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: