W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2011

[Bug 12060] New: K2-SeqExprCastable-3

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Feb 2011 11:35:10 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-12060-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12060

           Summary: K2-SeqExprCastable-3
           Product: XML Query Test Suite
           Version: 1.0.3
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


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

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 14 February 2011 11:35:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:45 UTC