-
Bug
-
Resolution: Fixed
-
Normal
-
s15
-
None
-
None
NOTE: This issue is specifically with the "serialization-with-dpath2 branch", not the current 0.15.0 branch
Test (not_11) is attempting to test this scenario for the function fn:not():
"If $arg is a value of any numeric type...fn:not returns true if the operand value is NaN..."
I define a sequence, where the first element is a float (num), and the second is a boolean, which is set via inputValueCalc to the result of fn:not(num). The input for the test is the textStandardNaNRep. This test works against the current 0.15.0 branch, but when I test it against remotes/origin/serialization-with-dpath2, I get the following error:
[error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_not_11 failed: edu.illinois.ncsa.daffodil.processors.ParseError: Parse Error: Expression evaluation failed due to: Cannot convert 'NaN' from Double type to Long (No other details are available.)..
Please see test not_11 in the following file:
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml