Community
Participate
Working Groups
The PsychoPath processor only accepts one argument for the fn:round-half-to-even function. It needs to accept two. http://www.w3.org/TR/xpath-functions/#func-round-half-to-even The second argument is a precision argument. From the W3C Summary: If the type of $arg is one of the four numeric types xs:float, xs:double, xs:decimal or xs:integer the type of the result is the same as the type of $arg. If the type of $arg is a type derived from one of the numeric types, the result is an instance of the base numeric type. The first signature of this function produces the same result as the second signature with $precision=0.
The round-half-to-even function was not being implemented correctly. This is now corrected, and helps pass an additional 10 unit tests that depended on the functionality.