This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17100 - [QT3TS] FunctionCall-015
Summary: [QT3TS] FunctionCall-015
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 13:52 UTC by Tim Mills
Modified: 2012-08-10 15:01 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2012-05-18 13:52:04 UTC
Following the resolution of Bug 16089, this test should no longer expect an error.


   <test-case name="FunctionCall-015">
      <description>Test that arguments are atomized - but not the argument of
casting to QName</description>
      <created by="Michael Kay" on="2011-10-31"/>
      <dependency type="spec" value="XQ30+"/>
      <dependency type="feature" value="schemaValidation"/>
      <test><![CDATA[
         declare function local:f($in as xs:integer) as xs:integer { $in + 1 };
         let $f := function-lookup(xs:QName(<f>local:f</f>), 1)
         return $f(12)]]></test>
      <result>
        <error code="XPTY0004"/>
      </result>
   </test-case>
Comment 1 O'Neil Delpratt 2012-08-08 13:27:56 UTC
I agree. The result has been changed to expect a 13.
Comment 2 Tim Mills 2012-08-10 15:01:53 UTC
Confirmed fixed.  Thanks.