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 29915 - [qt3ts] fn-function-lookup-766a
Summary: [qt3ts] fn-function-lookup-766a
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Tim Mills
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 14:55 UTC by Michael Kay
Modified: 2016-10-18 16:57 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2016-10-05 14:55:16 UTC
This test uses fn:function-lookup() to find the fn:transform function, then calls it supplying an integer as the argument, which should fail with a type error because fn:transform() expects a map to be supplied. But the test expects success.
Comment 1 Tim Mills 2016-10-07 10:35:56 UTC
Fix attempted.  Please confirm.
Comment 2 Michael Kay 2016-10-07 15:20:18 UTC
The test now supplies an empty map.

I can't see how transform() can be expected to do anything without a stylesheet: I would expect a failure FOXT0002.

I'm committing a revised version that does a minimal transformation: please check it.
Comment 3 O'Neil Delpratt 2016-10-18 16:57:55 UTC
Bug confirmed fix.