Actions
Bug #6485
closedUndeclared variable in XQuery - poor diagnostics
Start date:
2024-07-19
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
trunk
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
If a query contains a reference to an undeclared variable, we assume initially it is a forward reference to a global variable declared later. If it is still outstanding at the end of the module, we report an error that the variable is undeclared, but we have no location information for where the variable reference appeared. Example attached.
Files
Updated by Michael Kay 4 months ago
- Status changed from New to Closed
- Applies to branch trunk added
- Fix Committed on Branch trunk added
- Platforms .NET, Java added
I've fixed this for the 13.x branch.
Please register to edit this issue
Actions