This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The current XQuery 3.0 working drafts permits annotations on variables and functions that are defined in the prolog. Somewhat surprisingly, inline functions currently do not seem to allow annotations. Clearly, there is no need for the built-in annotations like %nondeterministic or %private, but user-defined annotations or later %updating/%sequential have a clear use case. Is there any particular reason why annotations on inline functions are currently not supported, in particular since they had been present in John Snelson's proposal? http://john.snelson.org.uk/proposal-to-add-function-annotations-to-xquer
A proposal along the lines of John Snelson's original proposal has been accepted to support annotations on inline functions.