[
https://issues.apache.org/jira/browse/DAFFODIL-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771981#comment-17771981
]
Mike Beckerle commented on DAFFODIL-2550:
-----------------------------------------
I am not positive this is the same issue, but in this chunk of data, all these
xmlns bindings on this "value" element are unnecessary duplicates of
definitions on the root element.
```
<tns:check_fire>
...
<target_number>
<value
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">
TQ3863
</value>
</target_number>
...
```
This is from a proprietary DFDL schema test infoset at my employer, but in case
it can be viewed, info for reproducing is:
Test: test_CA0201011_K02_01_Bad2Minute
> xmlns="" not minimized away in two CLI tests.
> ---------------------------------------------
>
> Key: DAFFODIL-2550
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2550
> Project: Daffodil
> Issue Type: Bug
> Components: Middle "End"
> Affects Versions: 3.2.0
> Reporter: Mike Beckerle
> Assignee: Steve Lawrence
> Priority: Minor
>
> Changes in [https://github.com/apache/daffodil/pull/600] clean up things a
> lot, but there is one mystery change in behavior.
> Two CLI tests now add an xmlns="" to an inner locally-declared element which
> has a unqualified name.
> This seems like incorrect namespace binding minimization, possibly.
> Rather than hold up the merge of PR 600 (which is a big change set, so needs
> to be merged real soon now) this ticket is to investigate this issue of the
> two CLI tests and the xmlns="" that seems unnecessary.
> Note that we've suspected there could be bugs in namespace binding
> minimization for a while now.
> The two CLI tests are:
> * test_CLI_Debugger_InfoHidden_1
> * test_CLI_Debugger_InfoHidden_2
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)