[
https://issues.apache.org/jira/browse/DAFFODIL-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-2517.
--------------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
Fixed in commit 4c1d9059d175b76526d3524550ad39c44ce9b7a9
> IBM DFDL Crosstester always reports left over ata
> -------------------------------------------------
>
> Key: DAFFODIL-2517
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2517
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Affects Versions: 3.1.0
> Reporter: Steve Lawrence
> Assignee: Steve Lawrence
> Priority: Major
> Fix For: 3.1.0
>
>
> We deprecated and removed isAtEnd from use in the TDML Runner, and replaced
> it with a check that the final bit position of a parse/unparse matched the
> total length. If not, it means there was left over data.
> However, the IBM DFDL implementation is not able to report final
> parse/unparse bitPosition, and so it always returns -1. This special value
> should disable left over data checking, but it does not. Since -1 is less
> than the the expected number of bits, tests fail complaining about left over
> data. We need to add back this special meaning of -1 to the TDML Runner.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)