You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2019/07/02 11:41:00 UTC

[jira] [Updated] (DAFFODIL-2094) TDMLRunner loads external file with different encoding

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

Steve Lawrence updated DAFFODIL-2094:
-------------------------------------
    Fix Version/s: 2.4.0

> 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 issues.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)