Changes

Jump to navigation Jump to search
991 bytes added ,  11:00, 29 January 2011
Created page with "This article is part of the Query Portal. It summarizes all error codes that may be thrown by the BaseX XQuery processor. ==Static Errors== {| class="wikitable" wi..."
This article is part of the [[Querying|Query Portal]].
It summarizes all error codes that may be thrown by the BaseX XQuery processor.

==Static Errors==

{| class="wikitable" width="100%"
!Code
!Description
!Examples
|- valign="top" scope="row"
|<code>XPST0003</code>
|An error occurred while ''parsing'' the query string (i.e., before the query could be compiled and executed).
|<code>1+</code>
|- valign="top" scope="row"
|<code>XPST0005</code>
|An expression will never results, no matter what input will be processed.
|<code>doc('input')/..</code>
|- valign="top" scope="row"
|<code>XPST0008</code>
|A variable or type name is used that has not been defined in the current scope.
|<code>$a---<hr/>element(*, x)</code>
|- valign="top" scope="row"
|<code>XPST0017<br/>&nbsp;</code>
| The specified function is unknown, or uses the wrong number of arguments (i.e., it does not match the ''name'' and ''arity'' of the existing function signatures).
|<code>fn:unknown()<hr/>count()</code>
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu