You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2022/03/17 11:37:00 UTC

[jira] [Closed] (DAFFODIL-2652) Ability to disable all alignment

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

Dave Thompson closed DAFFODIL-2652.
-----------------------------------

Verified the specified commit (commit 14f6c99ce67f6fc58e77330b8169e66e9719607b) is included in the latest pull from the daffodil repository.

Verified changes identified in commit comments were implemented.

Verified affected daffodil subproject sbt test suites executes successfully, including the added tests.

Verified the nightly test schemas compile and save successfully.

Verified the nightly test suite executes successfully.

> Ability to disable all alignment
> --------------------------------
>
>                 Key: DAFFODIL-2652
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2652
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>            Reporter: Steve Lawrence
>            Assignee: Mike Beckerle
>            Priority: Blocker
>             Fix For: 3.3.0
>
>
> Our algorithm for determining when alignment parsers/unparsers are needed is complex and imperfect--there are simply some cases where we can not statically know if alignment will be needed or not. DAFFODIL-2626 improved some of these cases, but things like global declarations still lead to alignment ambiguities.
> This can lead to Daffodil erring on the safe side and requireing alignment parsers/unparsers, even though they may not be necessary. This can lead to additional overhead, but more importantly can lead to during unparsing that are difficult to resolve.
> The majority of file formats have very simple alignment–everything is either all byte aligned or all bit aligned. So it's safe to simply exclude all alignment checking. We don't want to do this by default, but we should allow a user to add a property or tunable that allows them to specify that they know everything is correctly aligned, even if Daffodil can't statically figure it out, and to disable all alignment checking/parsers/unparsers.



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