Changes

Jump to navigation Jump to search
1,058 bytes removed ,  13:11, 24 May 2018
no edit summary
=Conventions=
All functions and errors in this module are assigned to the {{Code|<code><nowiki>http://basex.org/modules/repo}} </nowiki></code> namespace, which is statically bound to the {{Code|repo}} prefix.<br/>All errors are assigned to the {{Code|http://basex.org/errors}} namespace, which is statically bound to the {{Code|bxerr}} prefix.
=Functions=
==repo:install==
 
{| width='100%'
|-
|-
| '''Errors'''
|{{Error|BXRE0001not-found|XQuery Errors#Packaging Errors}} the a package does not exist.<br />{{Error|BXRE0002|XQuery Errors#Packaging Errors}} a package uses an invalid namespace URI.<br />{{Error|BXRE0003descriptor|XQuery Errors#Packaging Errors}} the package to be installed requires a package which is still not installed.<br />{{Error|BXRE0004|XQuery Errors#Packaging Errors}} the package descriptor is invalid.<br />{{Error|BXRE0005installed|XQuery Errors#Packaging Errors}} the module contained in the package to be installed is already installed as part of another package.<br />{{Error|BXRE0006parse|XQuery Errors#Packaging Errors}} an error occurred while parsing the package cannot be parsed.<br />{{Error|BXRE0009version|XQuery Errors#Packaging Errors}} the package version is not supported.<br />{{Error|BXRE0010|XQuery Errors#Packaging Errors}} the package contains an invalid JAR descriptor.<br />{{Error|BXRE0011|XQuery Errors#Packaging Errors}} the package contains a JAR descriptor but it cannot be read.<br />
|}
==repo:delete==
 
{| width='100%'
|-
|-
| '''Summary'''
|Deletes a package. The parameter {{Code|$pkg}} indicates either the package name as specified in the package descriptor or the name, optionally suffixed with a hyphen dash and the package version.<br />
|-
| '''Errors'''
|{{Error|BXRE0007not-found|XQuery Errors#Packaging Errors}} the a package cannot be deleteddoes not exist.<br />{{Error|BXRE0008delete|XQuery Errors#Packaging Errors}} another package depends on the package to cannot be deleted.<br />
|}
|Description
|-
|{{Code|BXRE0001delete}}|The addressed package does not existcannot be deleted because of dependencies, or because files are missing.
|-
|{{Code|BXRE0002}}|A package uses an invalid namespace URI.|-|{{Code|BXRE0003}}|The package to be installed requires a package which is not installed yet.|-|{{Code|BXRE0004descriptor}}
|The package descriptor is invalid.
|-
|{{Code|BXRE0005installed}}
|The module contained in the package to be installed is already installed as part of another package.
|-
|{{Code|BXRE0006}}|The package cannot be parsed.|not-|{{Code|BXRE0007found}}|The A package cannot be deleteddoes not exist.
|-
|{{Code|BXRE0008parse}}|Another package depends on An error occurred while parsing the package to be deleted.
|-
|{{Code|BXRE0009version}}
|The package version is not supported.
|-
|{{Code|BXRE0010}}
|The package contains an invalid JAR descriptor.
|-
|{{Code|BXRE0011}}
|The package contains a JAR descriptor but it cannot be read.
|}
=Changelog=
 
;Version 9.0
 
* Updated: error codes updated; errors now use the module namespace
;Version 7.2.1
The module was introduced with Version 7.1.
 
[[Category:XQuery]]
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu