[DFDL-WG] spec bug in dfdl:hexBinary function example

Mike Beckerle mbeckerle.dfdl at gmail.com
Thu Oct 9 13:46:35 EDT 2014


In discussion of the dfdl:hexBinary function, it says literals are given
the smallest signed type that will hold them.

This example is therefore incorrect:

• dfdl:hexBinary(208) is the hexBinary value "D0". EXB

Should be value 00D0 since 208 is beyond the range of a signed byte, so
must be a signed short.


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/20141009/56b21de8/attachment.html>


More information about the dfdl-wg mailing list