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/09/15 22:27:00 UTC

[jira] [Created] (DAFFODIL-2731) Need test to reproduce DAFFODIL-2726

Mike Beckerle created DAFFODIL-2731:
---------------------------------------

             Summary: Need test to reproduce DAFFODIL-2726
                 Key: DAFFODIL-2731
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2731
             Project: Daffodil
          Issue Type: Improvement
          Components: Clean Ups, Diagnostics, QA
    Affects Versions: 3.4.0
            Reporter: Mike Beckerle


Bug DAFFODIL-2726 was a complex situation that came up in a large schema project that is not available on the WWW. 

It involved some interaction of bit-order changes, layer transformers, and maybe computed lengths.

A test is needed in Daffodil's built-in tests that reproduces the issue without needing this unavailable DFDL schema.

Aspects of that schema that the test may need:
 * big endian primary header with stored length. bitOrder MSBF
 ** All fields of the primary header are required.
 * secondary header (mil-std-2045)  littleEndian LSBF 1-bit aligned with 20 bit stored length that is only of the bytes after the header.
 ** Some fields of the secondary header are optional using 1-bit flags.
 * alignment to a byte boundary
 * layer transform (such as gzip)
 * data format of the data in the layer is bigEndian byte oriented. 
 ** contains a variable-length array of structures. 

 



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