Note: this is an issue with the serialization-with-dpath4-based branches, not the current 0.15.0
If you call the fn:round-half-to-even function without specifying a precision, you get the following error:
[error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_round_hte_14b failed: edu.illinois.ncsa.daffodil.exceptions.Abort: Invariant broken. value not one of the expected types
I thought this was an issue with the function being passed a string, so I tried casting it to a double and rerunning the tests but they failed with the same error.
See tests:
test_round_hte_13
test_round_hte_14