This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
A large number of tests in SeqAVGFunc expect XPTY0004. However, in http://www.w3.org/TR/xquery-operators/#func-avg we read: ... If the above conditions are not met, then a type error is raised [err:FORG0006]. ... Don't know if the spec allows to raise XPTY0004 in thse sceanrios, but at least we believe that FORG0006 should be added as expected error. Couple of examples: -fn-avg-1 -fn-avg-mix-args-028 -> fn-avg-mix-args-065 But also other than fn:avg tests: -fn-max-1 -fn-min-1.xq Thanks, Marc
Marc: Correct. This is true of the agregate functions. Changed the NIST test to allow for FORG0006. Reassigning the bug to Ravi as this may affect some of his tests. Thanks, carmelo
Fixed fn-avg-mix-args-028 through fn-avg-mix-args-065, fn-max-1, and fn-min-1.xq. Changed the expected error from XPTY0004 to FORG0006
verified and looks ok