Actions
Bug #2743
closedLine numbers of XQuery global variables are out by one
Start date:
2016-05-12
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:
Description
The line number associated with an XQuery global variable declaration is out by one (if the variable is declared on line 4, the value of GlobalVariable.getLineNumber() is 5.) This affects some run-time diagnostics and tracing output.
Updated by Michael Kay over 8 years ago
- Category set to Diagnostics
- Status changed from New to Resolved
- Fix Committed on Branch 9.7, 9.8 added
Patch being committed on the 9.7 and 9.8 branches. A simple change to XQueryParser.parseVariableDeclaration(), which needs to add 1 to the line number obtained from the tokenizer, as tokenizer line numbers are zero-based.
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.5 added
Bug fix applied in the Saxon 9.7.0.5 maintenance release.
Updated by O'Neil Delpratt over 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue
Actions