- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 09 Nov 2007 08:16:18 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5260 Summary: CastAs180, CastAs217, CastAs218 expected error Product: XML Query Test Suite Version: 1.0.2 Platform: PC OS/Version: Windows NT 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 Query CastAs180 expects the error FOCA0002 (Invalid lexical value). I believe this in incorrect, and the query should expect FORG0001 (Invalid value for cast/constructor). Quoting from: http://www.w3.org/TR/xquery/#id-cast "If casting from the input type to the target type is supported but nevertheless it is not possible to cast the input value into the value space of the target type, a dynamic error is raised. [err:FORG0001]" (:*******************************************************:) (:Test:CastAs180:) (:Written By:Joanne Tong:) (:Date:2005-07-21T09:49:53-07:00:) (:Purpose:Try casting xs:float(INF) to xs:integer:) (:*******************************************************:) xs:float("INF") cast as xs:integer
Received on Friday, 9 November 2007 08:16:33 UTC