Project

Profile

Help

Bug #6345

closed

XQuery 4.0 syntax is not enabled in library modules

Added by Michael Kay 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Features new in 4.0
Sprint/Milestone:
-
Start date:
2024-02-13
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

When a query is compiled with version 4.0 syntax enabled, this does not extend to library modules.

(Fix: add module.setXPathVersion(importer.getXPathVersion()); at QueryModule line 246)

Actions #1

Updated by Michael Kay 3 months ago

After fixing this (temporarily, the fix needs to be thought through more carefully), I exposed another problem: functions declared in a library module are not fixed up correctly when arguments are defined by keyword.

Actions #2

Updated by Michael Kay 2 months ago

Added test case ImportModule/modules-40. Current state (on main branch) is that it's accepting 4.0 syntax but keyword arguments not working properly.

Actions #3

Updated by Michael Kay 2 months ago

  • Category set to Features new in 4.0
  • Status changed from New to Resolved
  • Priority changed from Low to Normal
  • Applies to branch 12, trunk added
  • Fix Committed on Branch 12, trunk added
  • Platforms .NET, Java added

Please register to edit this issue

Also available in: Atom PDF