My deliverable for the next draft (32) was to revise the
calculated values section.
I have rewritten it and the draft is attached.
Of note: I have removed the troublesome “outputLengthCalc”
property, as I no longer see a critical need for it. One of the examples
computes the number of occurrences for a byte array, and I think that mechanism
along with alignment is sufficient to handle the troublesome cases I was
considering where size of padding had to be dynamically computed.
The section now consists of a short table of definition,
followed by illustrative examples, however, I think this is fine. The semantics
of inputValueCalc and outputValueCalc aren’t really that complex. They
can be described in a paragraph. It is the motivation for them that is
complicated, so I think examples in the spec, while sometimes considered
problematic, are OK in this case.