You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2022/09/26 18:20:00 UTC

[jira] [Created] (DAFFODIL-2732) trace output has namespace prefix binding clutter

Mike Beckerle created DAFFODIL-2732:
---------------------------------------

             Summary: trace output has namespace prefix binding clutter
                 Key: DAFFODIL-2732
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2732
             Project: Daffodil
          Issue Type: Bug
          Components: Debugger
    Affects Versions: 3.3.0
            Reporter: Mike Beckerle


When using the trace output of the debugger you see infoset dumps like this:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<comments>
    <FRI xmlns="" xmlns:vmfc="urn:mil-std-6017c-DFDL" xmlns:vmfbase="urn:mil-std-6017base-DFDL" xmlns:vmfa="urn:mil-std-6017a-DFDL" xmlns:tns="urn:mil-std-6017a-DFDL" xmlns:nocvmf="urn:noc-milstd2045-vmf">0</FRI>
    <value>This is a Test</value>
  </comments>{code}
In my terminal window all those namespace bindings require scrolling to the right.

There is no reason for namespace prefix bindings at all in this context. We should strip them before we present this to the user.

Note that the XML processing instruction slug-line at the top of the infoset is also not needed in this context, and should be removed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)