mike-mcgann commented on code in PR #926:
URL: https://github.com/apache/daffodil/pull/926#discussion_r1084136415


##########
daffodil-test/src/test/resources/org/apache/daffodil/section23/dfdl_functions/Functions.tdml:
##########
@@ -11808,7 +11808,7 @@
     </tdml:document>
     <tdml:infoset>
       <tdml:dfdlInfoset>
-        <ex:dfdlHexBinary02>D0</ex:dfdlHexBinary02>
+        <ex:dfdlHexBinary02>0208</ex:dfdlHexBinary02>

Review Comment:
   The original test assumed the behavior that a string of `"208"` gets 
converted to an integer of `208` and then converted to `0xd0` but the `208` 
should be parsed as hex digits and result in `0x0208`. A leading zero was added 
as the hexBinary constructor enforces an even number of digits. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to