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/02/15 22:42:00 UTC

[jira] [Updated] (DAFFODIL-2661) Creating test data using 6-bit MSBF encoding doesn't work

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

Mike Beckerle updated DAFFODIL-2661:
------------------------------------
    Description: 
There were no tests of encoding 

X-DFDL-US-ASCII-6-BIT-PACKED-MSB-FIRST

I added such a test, and it fails, not because the parser/unparser doesn't work,  but because the TDML runner doesn't create the data properly when using:

      <tdml:documentPart type="text" encoding="X-DFDL-US-ASCII-6-BIT-PACKED-MSB-FIRST">

test test_packed6BitMSBF fails because it uses the documentPart that doesn't work.

test test_packed6BitMSBF2 succeeds because it lays down the bits manually for the characters. 

  was:
There were no tests of encoding 

X-DFDL-US-ASCII-6-BIT-PACKED-MSB-FIRST

I added such a test, and it fails, not because the parser/unparser doesn't work,  but because the TDML runner doesn't create the data properly when using 

<tdml:documentPart type="text" encoding="X-DFDL-US-ASCII-6-BIT-PACKED-MSB-FIRST">

test test_packed6BitMSBF fails because it uses the documentPart that doesn't work.

test test_packed6BitMSBF2 succeeds because it lays down the bits manually for the characters. 

 

test_packed6BitMSBF

test_packed6BitMSBF

test_packed6BitMSBF


> Creating test data using 6-bit MSBF encoding doesn't work
> ---------------------------------------------------------
>
>                 Key: DAFFODIL-2661
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2661
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 3.2.1
>            Reporter: Mike Beckerle
>            Priority: Major
>
> There were no tests of encoding 
> X-DFDL-US-ASCII-6-BIT-PACKED-MSB-FIRST
> I added such a test, and it fails, not because the parser/unparser doesn't work,  but because the TDML runner doesn't create the data properly when using:
>       <tdml:documentPart type="text" encoding="X-DFDL-US-ASCII-6-BIT-PACKED-MSB-FIRST">
> test test_packed6BitMSBF fails because it uses the documentPart that doesn't work.
> test test_packed6BitMSBF2 succeeds because it lays down the bits manually for the characters. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)