This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29694 - [XQ3TS] op-numeric-add-14, 15, 16
Summary: [XQ3TS] op-numeric-add-14, 15, 16
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
: 29635 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-13 11:51 UTC by Tim Mills
Modified: 2016-06-14 14:56 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-06-13 11:51:37 UTC
These tests are marked as XQ10+, but uses cast as t:integer-or-nothing, where this type is
 
 <xs:simpleType name = "integer-or-nothing">
    <xs:union memberTypes="xs:integer">
     <xs:simpleType>
      <xs:restriction base="xs:string">
       <xs:length value="0"/>
      </xs:restriction>
     </xs:simpleType>
    </xs:union>
 </xs:simpleType>

but casting to union types was only introduced in XQ30.

This also affects

 GenCompEq-26
 GenCompEq-27
 value-comparison-13
 value-comparison-14
Comment 1 Michael Kay 2016-06-13 13:30:38 UTC
Thanks, fixed.
Comment 2 Tim Mills 2016-06-14 14:30:12 UTC
Thanks.
Comment 3 Michael Kay 2016-06-14 14:56:57 UTC
*** Bug 29635 has been marked as a duplicate of this bug. ***