[DFDL-WG] clarification - lengthKind pattern IS allowed for hexBinary?
Mike Beckerle
mbeckerle.dfdl at gmail.com
Mon Oct 31 11:52:44 EDT 2016
We have a restriction in Daffodil that doesn't allow lengthKind pattern for
hexBinary, but I recently reviewed the spec and can find no such
restriction.
Did I miss the restriction somewhere else? I find no occurrences of
'pattern' nor 'hexbinary' in the current errata document.
I would say it is inconsistent to disallow lengthKind pattern for
hexBinary, after all, we allow lengthKind 'delimited' which scans the
binary bits/bytes, and that means dfdl:encoding is needed for hexBinary
when lengthKind is 'delimited', so we're already allowing the other things
we would need to support lengthKind 'pattern' also.
We do have a workaround which is to use a string with encoding iso-8859-1,
but that just proves the point that really there is no reason why hexBinary
doesn't allow this.
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/20161031/076e5a63/attachment.html>
More information about the dfdl-wg
mailing list