XQuery Errors

This article is part of the XQuery Portal. It summarizes the codes of errors that are raised by the standard features and functions of XQuery. As the original specifications are pretty comprehensive, we tried our best to make this overview comprehensible to a wider range of readers.

The following tables list the error codes that are known to BaseX, a short description, and examples of queries raising that errors. Errors that are specific to BaseX can be found in the descriptions of the respective modules.

Original definitions of the error codes are found in the XQuery 3.0, XQuery 3.0 Functions, XQuery 1.0 Update, XQuery 1.0 Full Text, and EXPath HTTP Specifications.

=Static Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: XPST, XQST

=Type Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: XPTY, XQTY

=Dynamic Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: XPDY, XQDY

=Functions Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: FOAR, FOCA, FOCH, FODC, FODF, FODT, FOER, FOFD, FONS, FORG, FORX, FOTY, FOUT

=Serialization Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: SEPM, SERE, SESU

=Update Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: FOUP, XUDY, XUST, XUTY

=Full-Text Errors=


 * Namespace URI:
 * Namespace prefix:
 * Codes: FTDY, FTST

=BaseX Errors=


 * Namespace URI:
 * Namespace prefix:

Additional, module-specific error codes are listed in the descriptions of the query modules.