* if annotations are attached to variables or functions, an {{Code|<xqdoc:annotations/>}} node is added
* variables now have a name and a type.
|-
| '''Errors'''
|{{Error|FODC0002|XQuery Errors#Functions Errors}} the addressed resource cannot be retrieved.
|-
| '''Example'''