Bug #6231
closed
Saxon does not recognise function annotations written using Q{uri}local syntax
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
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{_}_
- 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
Actually, it works if the namespace URI in the EQName has a colon in it (which it usually will): see test inline-fn-015.
Saxon is also disallowing annotations in no namespace (written %Q{}name
). There appears to be no rule in the spec to justify this.
- Status changed from New to Resolved
- Applies to branch 12, trunk added
- Fix Committed on Branch 12, trunk added
- Platforms .NET, Java added
Note, not fixed on the 11.x branch.
- 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
Also available in: Atom
PDF