This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
Personal response/assessment: I agree with the comment. The tests should be reorganized so that an xs:integer result is permitted where an xs:decimal result is expected.
These tests also exist in the new XQTS and have the same issues there
This bug has been transferred to QT3 test suite: See bug #29572