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

Tejas Tiwari edited comment on DAFFODIL-2539 at 12/23/25 5:57 AM:
------------------------------------------------------------------

I worked on DAFFODIL-2539 by removing duplicated TDML content between
{{section06/namespaces/namespaces.tdml}} and
{{{}test space/test 1/namespaces.tdml{}}}.

The cleanup preserves coverage for schemas and TDML files located in
directories with spaces. The remaining test continues to reference
{{multi_base_05_nons.dfdl.xsd}} from a path containing spaces and validates
no-namespace element name collisions.

Only overlapping tests and redundant schema definitions were removed so that
both locations no longer duplicate coverage.
[~mbeckerle] [~slawrence] 


was (Author: JIRAUSER311801):
I worked on DAFFODIL-2539 by removing duplicated TDML content between
{{section06/namespaces/namespaces.tdml}} and
{{{}test space/test 1/namespaces.tdml{}}}.

The cleanup preserves coverage for schemas and TDML files located in
directories with spaces. The remaining test continues to reference
{{multi_base_05_nons.dfdl.xsd}} from a path containing spaces and validates
no-namespace element name collisions.

Only overlapping tests and redundant schema definitions were removed so that
both locations no longer duplicate coverage.

> Duplicate TDML file - rename, and remove overlapping tests and schemas
> ----------------------------------------------------------------------
>
>                 Key: DAFFODIL-2539
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2539
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Clean Ups, QA
>    Affects Versions: 3.1.0
>            Reporter: Mike Beckerle
>            Priority: Minor
>              Labels: beginner
>
> There are 2 TDML files under daffodil-test with the same name, similar 
> contents, though they have diverged somewhat.
> Both live under daffodil-test/src/test/resources
> org/apache/daffodil/section06/namespaces/namespaces.tdml
>  "test space/test 1/namespaces.tdml"
> (note how the second one has spaces in the first two path steps.)
> First, this file under test space/test 1 should be renamed. Suggest 
> spacesInNames.tdml
> Second, if you compare the two files, you see they are quite similar, but it 
> looks like the only test in the "test space/test 1" version that has an 
> actual driver scala code calling it, is in 
> section00/general/TestGeneral.scala, test_no_namespace_02.
> All the other tests and any irrelevant define-schemas in this "test 
> space/test 1/namespaces.tdml" should be deleted. This will leave just 
> test_no_namespace_02 and any defineSchema parts needed.
> If those parts exist also in section06/namespaces/namespace.tdml, they should 
> be deleted from that file, so that the resulting two TDML files have no 
> duplicated content, and different names going forward.
> The test name itself should change from test_no_namespace_02 to something 
> more descriptive, like no_namespace_colliding_element_names.
>  
>  



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

Reply via email to