Actions
Bug #6231
closedSaxon does not recognise function annotations written using Q{uri}local syntax
Start date:
2023-10-24
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
See the new QT4 test case inline-fn-050, but the problem appllies equally to XQuery 3.1
The expression
%Q{_}_ function($x) { $x }(1)
fails
XQST0045 Unrecognized variable or function annotation Q{_}_
Updated by Michael Kay about 1 year ago
- Subject changed from Saxon does not recognised function annotations written using Q{uri}local syntax to Saxon does not recognise function annotations written using Q{uri}local syntax
Updated by Michael Kay about 1 year ago
Actually, it works if the namespace URI in the EQName has a colon in it (which it usually will): see test inline-fn-015.
Updated by Michael Kay about 1 year ago
Saxon is also disallowing annotations in no namespace (written %Q{}name
). There appears to be no rule in the spec to justify this.
Updated by Michael Kay about 1 year ago
- Status changed from New to Resolved
- Applies to branch 12, trunk added
- Fix Committed on Branch 12, trunk added
- Platforms .NET, Java added
Updated by O'Neil Delpratt about 1 year ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 12.4 added
Bug fix applied in the Saxon 12.4 maintenance release
Please register to edit this issue
Actions