Description
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?