W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2012

[Bug 17225] New: [QT3TS] CastAs-UnionType-9

From: <bugzilla@jessica.w3.org>
Date: Mon, 28 May 2012 15:52:59 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-17225-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17225

           Summary: [QT3TS] CastAs-UnionType-9
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: oneil@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The test "CastAs-UnionType-9" attempts to call a constructor function for the
union of xs:date and xs:integer.  Why does the xs:decimal argument not cause a
FORG0001?

xquery version "3.0";
import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined";
let $f := s:myUnionType1(?)
return $f(123.12)

-- 
Configure bugmail: https://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, 28 May 2012 15:53:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:38 UTC