Difference between revisions of "XQuery Errors"

From BaseX Documentation
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 11:00, 29 January 2011

This article is part of the Query Portal. It summarizes all error codes that may be thrown by the BaseX XQuery processor.

Static Errors

Code Description Examples
XPST0003 An error occurred while parsing the query string (i.e., before the query could be compiled and executed). 1+
XPST0005 An expression will never results, no matter what input will be processed. doc('input')/..
XPST0008 A variable or type name is used that has not been defined in the current scope. $a---
element(*, x)
XPST0017
 
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). fn:unknown()
count()