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:35:00 UTC

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

Mike Beckerle created DAFFODIL-2661:
---------------------------------------

             Summary: 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


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



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