This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
fn-avg-mix-args-066 looks rather weird. a) the referenced file doesn't exist in the epository b) the test expects FORG0001, but the query doesn't contain a cast expression or constructor function. Thanks, Marc
> a) the referenced file doesn't exist in the epository The query should use a variable in place of the doc function. > b) the test expects FORG0001, but the query doesn't contain a > cast expression or constructor function. The test is invoking fn:avg on a node. The parameter for fn:avg is xdt:anyAtomicType*. Atomizing the node, which has mixed content, provides a typed value that is the same as its string value. fn:avg tries to cast the string value to xs:double and fails, producing FORG0001.
Oops. My mistake, not changing the test to use variable instead of doc function. Test is fixed now.
verified and looks ok