[Bug 12060] New: K2-SeqExprCastable-3

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