stevedlawrence commented on a change in pull request #179: Return xs:decimal 
when dividing xs:long
URL: https://github.com/apache/incubator-daffodil/pull/179#discussion_r255510903
 
 

 ##########
 File path: 
daffodil-test/src/test/resources/org/apache/daffodil/section23/dfdl_expressions/expressions.tdml
 ##########
 @@ -7184,6 +7185,11 @@
     
<tdml:infoset><tdml:dfdlInfoset><div21>7.290005321703885E-5</div21></tdml:dfdlInfoset></tdml:infoset>
   </tdml:parserTestCase>
 
+  <tdml:parserTestCase name="div22" root="div22" model="XPathDiv" 
description="Section 23 - DFDL Expressions - div"
+    config="cfg_errorOnResultCoercion">
+    <tdml:document></tdml:document>
+    
<tdml:infoset><tdml:dfdlInfoset><div22>0.028125</div22></tdml:dfdlInfoset></tdml:infoset>
 
 Review comment:
   New updates look good, but this could use some tests to make sure we're 
doing the right thing. This is a corner case that really needs tests to ensure 
we're doing the right thing.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to