You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/02/18 20:52:00 UTC

[jira] [Resolved] (DAFFODIL-2255) lengthKind 'delimited' accepting end-of-data is not spec compliant

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

Steve Lawrence resolved DAFFODIL-2255.
--------------------------------------
    Resolution: Not A Bug

Daffodil does implement to correct behavior according to the spec.

> lengthKind 'delimited' accepting end-of-data is not spec compliant
> ------------------------------------------------------------------
>
>                 Key: DAFFODIL-2255
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2255
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 2.5.0
>            Reporter: Mike Beckerle
>            Priority: Major
>
> Currently, lengthKind 'delimited' accepts finding a delimiter or end-of-data as satisfying the need for a delimiter.
> This is not DFDL spec compliant. The DFDL spec allows for one case where a delimiter that is required (by lengthKind 'delimited') is not present, and that is by way of the property dfdl:documentFinalTerminatorCanBeMissing. This suggests no other exception to finding a required delimiter should be allowed. 
> Fixing this may require a compatibility mode tunable that can be set to obtain this prior behavior. However, tests in our test suite should not be made to work using this compatibility mode. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)