This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The query op-numeric-multiplymix2args-2.xq expects FORG0001. XPTY0004 seems also eligiable. As specified in <http://www.w3.org/TR/xquery/#id-arithmetic>: If the types of the operands, after evaluation, are not a valid combination for the given operator, according to the rules in B.2 Operator Mapping, a type error is raised [err:XPTY0004]. Our implementation report FORG0001 for this query as the operands are not of type xdt:untypedAtomic. Step 4 reads: If the atomized operand is of type xdt:untypedAtomic, it is cast to xs:double. If the cast fails, a dynamic error is raised. [err:FORG0001]
Agree, XPTY0004 is the correct error. Fixed the XQTSCatalog.xml. Please verify the fix the CLOSE the bug.
not fixed in 0.9
sorry, my mistake. The comment was intended for bug #3159
Issue was fixed for some time already. Closing.