W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 08 Sep 2006 10:25:22 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GLdY2-0000nK-Gc@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT