Changes

Jump to navigation Jump to search
75 bytes removed ,  00:42, 26 May 2012
m
Text replace - "| valign='top' | " to "| "
|<code><b>repo:install</b>($path as xs:string) as empty-sequence()</code><br />
|-
| valign='top' | '''Summary'''
|Installs a package, or (since {{Version|7.2.1}}), replaces an existing package. The parameter <code>$path</code> indicates the path to the package.<br />
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#Packaging Errors|PACK0001]]</b> is raised if the package does not exist.<br /><b>[[XQuery Errors#Packaging Errors|PACK0002]]</b> is raised if a package uses an invalid namespace URI.<br /><b>[[XQuery Errors#Packaging Errors|PACK0003]]</b> is raised if the package to be installed requires a package which is still not installed.<br /><b>[[XQuery Errors#Packaging Errors|PACK0004]]</b> is raised if the package descriptor is invalid.<br /><b>[[XQuery Errors#Packaging Errors|PACK0005]]</b> is raised if the module contained in the package to be installed is already installed as part of another package.<br /><b>[[XQuery Errors#Packaging Errors|PACK0006]]</b> is raised if the package cannot be parsed.<br /><b>[[XQuery Errors#Packaging Errors|PACK0009]]</b> is raised if the package version is not supported.<br /><b>[[XQuery Errors#Packaging Errors|PACK0010]]</b> is raised if the package contains an invalid JAR descriptor.<br /><b>[[XQuery Errors#Packaging Errors|PACK0011]]</b> is raised if the package contains a JAR descriptor but it cannot be read.<br />
|}
|<code><b>repo:delete</b>($pkg as xs:string) as empty-sequence()</code><br />
|-
| valign='top' | '''Summary'''
|Deletes a package. The parameter <code>$pkg</code> indicates either the package name as specified in the package descriptor or (since {{Version|7.2.1}}) the name, suffixed with a hyphen and the package version.<br />
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#Packaging Errors|PACK0007]]</b> is raised if the package cannot be deleted.<br /><b>[[XQuery Errors#Packaging Errors|PACK0008]]</b> is raised if another package depends on the package to be deleted.<br />
|}
|<code><b>repo:list</b>() as element(package)*</code><br />
|-
| valign='top' | '''Summary'''
|Lists the names and versions of all currently installed packages.<br />
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu