Project

Profile

Help

Bug #1783

closed

Unknown system function function()

Added by O'Neil Delpratt almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Low
Category:
XQuery conformance
Sprint/Milestone:
-
Start date:
2013-05-22
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

The following XQuery 3.0 code is failing to run:

module namespace my = "http://www.w3.org/XQueryTest/RequireProhibitFeature";
declare option require-feature "higher-order-function";
declare function my:one() as function(*)
{
  function() { 1 }
};

We get the following error:

@

XPST0017 XQuery static error near #...nction(*) { function() { 1#:

Unknown system function function()

@

Please register to edit this issue

Also available in: Atom PDF