Thanks for the report. I believe found the issue and think I've got a fix for it. The jist is that we aren't properly handling bitOrder changes after returning from suspensions. outputValueCalc is one way of creating suspensions, so having a OVC followed by an element with a different bitOrder is what triggers this bug.
I've just created PR-215 [1] which has a more detailed description of what's going on, and I think a reasonable fix. https://github.com/apache/incubator-daffodil/pull/215 On 5/9/19 11:29 AM, Sloane, Brandon wrote: > Steve, > > > I was able to more or less isolate the unparsing issue I mentioned this > morning. > I have submitted a bug report here: > https://issues.apache.org/jira/browse/DAFFODIL-2125 > > It seems to be related to changing bit orders and suspensions. Let me know if > you get a chance to look at it. > > Thanks, > > > Brandon T. Sloane > > Associate, Services > > [email protected] | tresys.com >
