[DFDL-WG] spec bug dfdl:choiceLength says 'bytes' should use dfdl:lengthUnits

Mike Beckerle mbeckerle.dfdl at gmail.com
Thu Dec 15 11:04:16 EST 2016


for dfdl:choiceLength, the description says "Specifies the length of the
choice in bytes..." clearly this should use dfdl:lengthUnits.

We have tons of cases where byte granularity is not sufficient, and this is
hard to work around. You have to use dfdl:choiceLengthKind='implicit' and
then carefully pad the branches to the same length in bits. It's painful.

Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
Please note: Contributions to the DFDL Workgroup's email discussions are
subject to the OGF Intellectual Property Policy
<http://www.ogf.org/About/abt_policies.php>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20161215/29ab25c3/attachment.html>


More information about the dfdl-wg mailing list