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 19876 - [QT3TS] separate-modules-8/9-s/ns
Summary: [QT3TS] separate-modules-8/9-s/ns
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: Ghislain Fourny
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 10:35 UTC by Tim Mills
Modified: 2013-03-21 12:41 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2012-11-06 10:35:35 UTC
These four tests all use

let $f := () return $f()

The empty sequence cannot be invoked as a function, and thus should expect XPTY0004 which I doubt was the intent of the tests.
Comment 1 Ghislain Fourny 2013-03-20 13:27:56 UTC
You are absolutely right. I copy and pasted this from other tests, the goal of which was to specifically test for a rejection of dynamic function call syntax.

The tests were updated with

let $f := function() { () } return $f()

and the expected results were also fixed.

Thanks for catching this.
Comment 2 Tim Mills 2013-03-21 12:40:48 UTC
Thanks.

Confirmed fixed - although I had to fix a syntax error in the imported module.