Changes

Jump to navigation Jump to search
154 bytes added ,  14:01, 21 January 2019
no edit summary
All RESTXQ [[XQuery 3.0#Annotations|annotations]] are assigned to the <code><nowiki>http://exquery.org/ns/restxq</nowiki></code> namespace, which is statically bound to the {{Code|rest}} prefix. A ''Resource Function'' is an XQuery function that has been marked up with RESTXQ annotations. When an HTTP request comes in, a resource function will be invoked that matches the constraints indicated by its annotations.
If a RESTXQ URL is requested, the {{Option|RESTXQPATH}} module directory and its sub-directories will be traversed, and all [[XQuery Extensions#Suffixes|XQuery files]] will be parsed for functions with RESTXQ annotations. Sub-directories that include an {{Code|.ignore}} file will be skipped. With {{Version|9.2}}, XQuery modules that cannot be parsed will be ignored as well.
To speed up processing, the functions of the existing XQuery modules are automatically cached in main memory:
=Changelog=
 
;Version 9.2
 
* Updated: Ignore XQuery modules that cannot be parsed
;Version 9.0
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu