Changes

Jump to navigation Jump to search
216 bytes removed ,  17:18, 23 August 2012
no edit summary
BaseX offers two mechanisms to make new packages accessible to the XQuery processor:
# With {{Version|7.2.1}}, we offer a simple the default [[#Packaging|packaging]] packaging mechanism to directly install , single XQuery and Java modules can directly be installed to the repository.
# The [[#EXPath Packaging|EXPath Packaging]] system provides a generic mechanism for adding XQuery modules to query processors. A package is defined as a {{Code|.xar}} archive, which encapsulates one or more extension libraries.
The installation will only succeed if the specified file conforms to the constraints described below. If you know that your input is valid, you may as well copy the files directly to the repository directory, or edit its contents in the repository without deleting and reinstalling them.
 
Since {{Version|7.2.1}}, existing packages are simply replaced (before, an error was raised).
===Querying===
===Removal===
A package can be deleted with the command REPO DELETE and by specifying an additional argument, containing its name or (since {{Version|7.2.1}}) the name, suffixed with a hyphen and the package version:
REPO DELETE <nowiki>http://www.functx.com</nowiki> ...or...
==Packaging==
 
With {{Version|7.2.1}}, XQuery modules and JAR archives can directly be added to the repository without further packaging efforts:
===XQuery===
;Version 7.2.1
* Updated: [[#Installation|Installation]]: existing packages will be replacedwithout raising an error
* Updated: [[#Removal|Removal]]: remove specific version of a package
* Added: [[#Packaging|Packaging]], [[#URI Rewriting|URI Rewriting]]
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu