[
https://issues.apache.org/jira/browse/DAFFODIL-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252782#comment-16252782
]
Michael Beckerle commented on DAFFODIL-1846:
--------------------------------------------
See commented out test test_testNoRootUnnecessaryBinding.
This test is trying to insure that an output does *not* contain an unnecessary
xmlns="" binding. However, TDML runner strips attributes and such. So this test
can't actually insure what it wants to insure.
> TDML Runner - Infoset.contents is stripping off all attributes
> --------------------------------------------------------------
>
> Key: DAFFODIL-1846
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1846
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Affects Versions: 2.0.0
> Reporter: Michael Beckerle
> Fix For: 2.1.0
>
>
> The TDML runner removes all attributes from the Infoset XML that it pulls in
> from the TDML file. This can result in unparser errors due to loss of
> namespace bindings.
> The Infoset.contents call redundantly calls the utility to remove attributes
> more than once.
> This needs to be cleaned up and is related to DFDL-1384.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)