Thanks to Marshall Miller of Quark Security for this insight. This extracted from the
dev@daffodil.apache.org mailing list.
One can workaround this problem in Daffodil by way of dfdl:inputValueCalc/dfdl:outputValueCalc and hidden groups. But that is, perhaps, unsatisfying.