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 12060 - K2-SeqExprCastable-3
Summary: K2-SeqExprCastable-3
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.3
Hardware: PC Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 11:35 UTC by Michael Kay
Modified: 2013-06-10 16:27 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2011-02-14 11:35:10 UTC
This test is:

(1 div 0) castable as xs:string

and expects a dynamic error.

Under the "Errors and Optimizations" rules it can also return true (every item is castable to string, so why bother doing the evaluation?)

The intent of the test would be better satisfied by changing the test to

xs:string(1 div 0) castable as xs:integer
Comment 1 O'Neil Delpratt 2013-06-10 16:27:44 UTC
Bug resolved in the QT3 test suite.