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()

@

Actions #1

Updated by O'Neil Delpratt almost 11 years ago

  • Status changed from In Progress to Resolved

The bug has been fixed and committed to subversion. The problem was found in the ExtendedXQueryParser class. Given that we know the query is 3.0 the variable languageVersion which is of type DecimalValue we had failed to updated it to 3.0.

Actions #2

Updated by O'Neil Delpratt almost 11 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.5.0.2

Please register to edit this issue

Also available in: Atom PDF