Note: this bug exists in the dpath branch, not the current 0.15.0
Instead of rounding to half when the fractional portion is even, fn:round-half-to-even now always rounds up
e.g:
[error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_xPathFunc_round_hte_03 failed: java.lang.Exception:
[error] Comparison failed.
[error] Expected
[error] <round-hte><num>3.00865</num><precision>4</precision><roundval>3.0086</roundval></round-hte>
[error] Actual
[error] <round-hte><num>3.00865</num><precision>4</precision><roundval>3.0087</roundval></round-hte>
See tests:
test_xPathFunc_round_hte_02
test_xPathFunc_round_hte_03
test_xPathFunc_round_hte_05