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

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