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

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

     [ https://issues.apache.org/jira/browse/DAFFODIL-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-2732.
-----------------------------------

Verified the specified commit (commit a23ffc7997b535be333dd2ac95dc6fa54c972d79) is included in the latest pull from the daffodil repository.

Verified, via review, changes identified in the commit comment were implemented. 

Verified the affected daffodil subproject sbt test suite executed successfully.

> 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
>            Assignee: Olabusayo Kilo
>            Priority: Minor
>             Fix For: 3.5.1
>
>
> 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)