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

RuntimeData objects should not carry namespaces

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: deferred
    • Component/s: clean ups, Middle "End"
    • Labels:
      None

      Description

      This is a code cleanup.

      Today the RuntimeData objects from TermRuntimeData downward in that hierarchy all carry namespaces, which is the NamespaceBinding from the original XML scope giving rise to the object.

      However, that is only used by the InteractiveDebugger when compiling expressions. Hence, should be (and is) carried on DPathCompileInfo.

      namespaces should be removed from the TermRuntimeData and all derived classes, and it should be accessed from the DPathCompileInfo objects.

      Also, the definition of namespaces is the xml scope from the original XML, but augmented with xsi in case of nillable attributes being added. However, that is only needed for nillable elements, so adding this xsi nillable all the time just creates something that namespace minimizing has to take out later. It should only be added for nillable elements.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks