[
https://issues.apache.org/jira/browse/DAFFODIL-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence closed DAFFODIL-1934.
------------------------------------
Resolution: Not A Problem
Closing as this is intended behavior. The IMF line folding transform consumes
the entire file with implicit length, leaving no data for following elements.
Instead, one muse use an explicit or pattern length on the surrounding element
to bound how much data the line folding will consume.
> Inability to read data following a layer
> ----------------------------------------
>
> Key: DAFFODIL-1934
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1934
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Affects Versions: 2.2.0
> Reporter: Steve Lawrence
> Priority: Major
> Fix For: 2.2.0
>
>
> I have a schema that has two parts: a header and a body. The header contains
> an unbounded array of delimited fields. The header has a terminator to
> signify when the fields are complete. The entire header element is in a
> lineFolded_IMF layered sequence. Immediately following the layered sequence
> is a body element, which is just a delimited string. The header fields and
> terminator are parsed correctly. However, the body is parsed with length
> zero, and no error is given about left over data. Perhaps the limiting layer
> is not being reset to the original layer correctly? So the layer IOStream is
> closed, making it so no data after the layer can be read?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)