Changes

Jump to navigation Jump to search
839 bytes added ,  17:06, 22 November 2017
no edit summary
This article is part of the [[XQuery|XQuery Portal]].It summarizes the codes of errors that are raised by thestandard features and functions of XQuery. As the original specificationsare pretty comprehensive, we tried our best to make this overviewcomprehensible 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 descriptionsof the respective [[Module Library|modules]].
Original definitions of the error codes are found in the[http://www.w3.org/TR/xquery-30/ XQuery 3.0],[http://www.w3.org/TR/xpath-functions-30/ XQuery 3.0 Functions],[http://www.w3.org/TR/xquery-update-10/ XQuery 1.0 Update],[http://www.w3.org/TR/xpath-full-text-10/ XQuery 1.0 Full Text],and [http://www.expath.org/spec/http-client EXPath HTTP]Specifications.
=Static Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|XPST}}, {{Code|XQST}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>XPST0003</code>
=Type Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|XPTY}}, {{Code|XQTY}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>XPTY0004</code>
=Dynamic Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|XPDY}}, {{Code|XQDY}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>XPDY0002</code>
=Functions Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|FOAR}}, {{Code|FOCA}}, {{Code|FOCH}}, {{Code|FODC}}, {{Code|FODF}}, {{Code|FODT}}, {{Code|FOER}}, {{Code|FOFD}}, {{Code|FONS}}, {{Code|FORG}}, {{Code|FORX}}, {{Code|FOTY}}, {{Code|FOUT}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>FOAR0001</code>
=Serialization Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|SEPM}}, {{Code|SERE}}, {{Code|SESU}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>SESU0007</code>
=Update Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|FOUP}}, {{Code|XUDY}}, {{Code|XUST}}, {{Code|XUTY}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>FOUP0001</code>
=Full-Text Errors=
Error * Namespace URI: <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>* Namespace prefix: <code>err</code>* Codes: {{Code|FTDY}}, {{Code|FTST}}
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description
|!Examples
|- valign="top" scope="row"
|<code>FTDY0016</code>
=BaseX Errors=
* Namespace URI: <code><nowiki>http://basex.org</nowiki></code>* Namespace prefix of error codes: {{Code|<code>basex}}</code>
{| class="wikitable" width="100%"
! width="110"|Code
! width="50%" |Description|!Examples
|- valign="top" scope="row"
|<code>annotation</code>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu