Actions
Bug #6345
closedXQuery 4.0 syntax is not enabled in library modules
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)
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.
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.
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
Actions