daffodil-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Thompson (Jira)" <j...@apache.org>
Subject [jira] [Closed] (DAFFODIL-2094) TDMLRunner loads external file with different encoding
Date Tue, 18 May 2021 14:39:02 GMT

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

Dave Thompson closed DAFFODIL-2094.

No action required.

> TDMLRunner loads external file with different encoding
> ------------------------------------------------------
>                 Key: DAFFODIL-2094
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2094
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 2.3.0
>            Reporter: Josh Adams
>            Assignee: Josh Adams
>            Priority: Major
>             Fix For: 2.4.0
> 4 of the tests in the NITF schema project contain text segments that when the expected
results are loaded by TDMLRunner something is happening that is causing the text to change
when it is loaded by TDMLRunner.
> For example, test_i_3114e has a TextSegment that contains some strangely encoded text
values, that when parsed show up like so:
> {code:java}
> 229␣␣␣␣␣?␊{code}
> However, when this same line is loaded by the TDMLRunner as an expected result, it becomes:
> {code:java}
> 229␣␣␣␣␣¥␍␊
> {code}
> Just to be clear that this is indeed an issue with how the TDMLRunner loads the expected
results file, you can parse the data from this test and use the output as the expected result
and when TDMLRunner compares the files, it will fail due to these sort of encoding related

This message was sent by Atlassian Jira

View raw message