[DFDL-WG] alignment questions

Mike Beckerle mbeckerle.dfdl at gmail.com
Wed Mar 26 10:51:40 EDT 2014


Are leadingSkip always byte aligned, or are they N * 8 bits added on.
Similarly trailingSkip

E.g.,

<element name="x" type="xs:int" dfdl:lengthKind="explicit" dfdl:length="1"
dfdl:lengthUnits="bits"
dfdl:trailingSkip="10" dfdl:alignmentUnits="bytes" dfdl:alignment="1"/>

So, after this element am I at bit 81 or bit 88?

In other words, does the trailingSkip region get aligned per size of
alignment unit, or does alignment really only happen at the beginning of an
element.

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/20140326/35297c29/attachment.html>


More information about the dfdl-wg mailing list