Actions
Bug #2993
closedSaxon does not allow multiple annotations (on an XQuery function/variable) that have the same name.
Start date:
2016-10-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
There appears to be nothing in the XQuery spec that disallows multiple annotations with the same name. But Saxon rejects it with XPST0003.
If we do allow multiple annotations with the same name, it complicates any API we might provide to access this information. Currently there is no support for annotations in the data model, so it's hard to work out what was intended.
I have created QT3 test cases annotation-37, annotation-38, and annotation-assertion-19 to test this situation.
Please register to edit this issue
Actions