[Bug 3675] fn:error(..) as an argument to another function/operator

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3675

           Summary: fn:error(..) as an argument to another function/operator
           Product: XML Query Test Suite
           Version: 1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Tests such as K-SeqZeroOrOneFunc-7:

zero-or-one(error()) 

are expected to return FOER0000 (unidentified error).

However, this is not an unidenfied error - it is a type checking error, since
zero-or-one does not accept type "none".  As such, the test should accept
XPTY0004  (static type checking error).

Received on Friday, 8 September 2006 10:25:32 UTC