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/01/20 16:49:00 UTC

[jira] [Commented] (DAFFODIL-2550) xmlns="" not minimized away in two CLI tests.

    [ https://issues.apache.org/jira/browse/DAFFODIL-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479508#comment-17479508 ] 

Mike Beckerle commented on DAFFODIL-2550:
-----------------------------------------

In work on a proprietary large DFDL schema, ran into this problem where the parse outputs two adjacent elements which have unnecessary xmlns="" in them. 

There is a lot of referencing of reusable groups inside other reusable groups in this DFDL schema. 

The schema is also developed using the style where all the ".dfdl.xsd" files have default namespace as XMLSchema namespace, and all the TDML files have the default namespace as the TDML namespace. (I.e., almost no typing of "xs:" prefixes nor "tdml:" prefixes.)

> 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 &quot;End&quot;
>    Affects Versions: 3.2.0
>            Reporter: Mike Beckerle
>            Assignee: Steve Lawrence
>            Priority: Major
>
> 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.1#820001)