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 bug #23229 has been transferred to the QT3: These tests op-numeric-add-1 op-numeric-mod-1 op-numeric-multiply-1 op-numeric-subtract-1 op-numeric-unary-minus-1 op-numeric-unary-plus-1 all require the result of an operation on an integer value of type xs:decimal to have the type xs:decimal. However (as just discussed on the xquery-talk mailing list) it is legal to cast any integer valued decimal to integer at any time, i.e. `-xs:decimal(1) instance of xs:integer` or `xs:decimal(1) instance of xs:integer` might both be true
See also bug #29401
I have fixed the tests by using "instance of" on each item in the result sequence to check the type.