Changes

Jump to navigation Jump to search
163 bytes added ,  01:20, 1 April 2012
no edit summary
REPO DELETE functx-1.0
==Simple Packaging==
{{Mark|Since With Version 7.2.1}}, simple XQuery modules and JAR archives can be treated and directly installed to the repository. ===XQuery=== If a single XQuery module is specified as XQuery modulesinput for the REPO INSTALL command, it will be simply parsed and copied to the repository. The article on [[ ===Java Bindings]] gives more insight on how Java code is handled in XQuery. === The following steps are to be observed when preparing for packaging a JAR archive:
* The installed JAR archive must contain a manifest ({{Mono|META-INF/MANIFEST.MF}}) with a {{Mono|Main-Class:}} entry, which will be bound to the namespace.
* All public functions of this class can then be addressed from XQuery.
* The repository path to the JAR file can be directly used as namespace URI.
 
The article on [[Java Bindings]] gives more insight on how Java code is handled in XQuery.
==EXPath Packaging==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu