This article is part of the [[XQueryQuerying|XQuery Query Portal]].
It summarizes all error codes that may be thrown by the BaseX XQuery processor.
==BaseX Errors==
Error Codes: {{Code|<code>BASX}}</code>
{| class="wikitable" width="100%"
! width="35%"|Examples
|- valign="top" scope="row"
|<code>BASX0000BASX0001</code>| Generic errorThe specified index type is unknown, which or not available.|<code>db:info("unknown")</code>|- valign="top" scope="row"|<code>BASX0002</code>| The specified node must reference a database node.|<code><xml/>/db:text("word")</code>|- valign="top" scope="row"|<code>BASX0003</code>| The specified database was not found.|<code>db:open('unknown')</code>|- valign="top" scope="row"|<code>BASX0004</code>| The database node referenced by a function is used for exceptions in out of range.|<code>db:open-pre('database', -1)</code>|- valign="top" scope="row"|<code>BASX0005</code>| The current user has no [[User Management|permissions]] to execute an expression.|<code>file:delete('file.txt')</code>: ''Admin'' rights needed.|- valign="top" scope="row"|<code>BASX0006</code>| The query was timed out. The <code>[[Java BindingsOptions#Context-AwarenessTIMEOUT|context-aware Java bindingsTIMEOUT]]</code> option can be modified in the client/server architecture. This error is only raised by the internal BaseX Java function <code>QueryProcess.next(Item)</code>.
|
|- valign="top" scope="row"
|<code>BASX0001BASX0007</code>| The current user has insufficient [[User ManagementNodes were expected as query result. This error is only raised by the internal BaseX Java function <code>QueryProcessor.queryNodes()</code>.||- valign="top" scope="row"|<code>BASX0008</code>|permissions]] to execute an expressionA database addressed with the <code>doc()</code> function contains more than one document.|<code>file:deletedoc('file.txtcollection')</code>|- valign="top" scope="row"|<code>BASX0009</code>| The specified event is unknown.| <code>db: event('unknown'Create, 'event' rights needed.)</code>
|- valign="top" scope="row"
|<code>BASX0002BASX0010</code>
| The specified database option is unknown.
|<code>declare option db:xyz "no"; 1</code>|- valign="top" scope="row"|<code>BASX0011</code>| The specified XSLT parameter XSLT parameter is unknown.| <code>xslt:transform('doc.xml', 'input.xslt', '<INVALID/>')</code>|- valign="top" scope="row"|<code>BASX0011</code>| The specified XSLT parameter XSLT parameter is unknown.| <code>xslt:transform('doc.xml', 'input.xslt', '<INVALID/>')</code>|- valign="top" scope="row"|<code>BASX0012</code>| A single document is expected as replace target.| <code>db:replace('db', 'unknown.xml', '<a/>')</code>
|- valign="top" scope="row"
|<code>BASX0003BASX0013</code>| Errors related to [[RESTXQ]]An empty rename sting was specified.| <code>db:rename('db', 'old.xml', '')</code>|- valign="top" scope="row"|<code>BASX0014</code>| An error occurred while optimizing the database.| <code>db:optimize('db')</code>|- valign="top" scope="row"|<code>BASX0015</code>| The specified input text cannot be parsed as JSON.|<code>%restxqjson:GETparse('x{{}}')</code>|- valign="top" scope="row"|<code>BASX0016</code>| The specified input text cannot be serialized to a JSON document.| <code>json:serialize(<invalid/>)</code>|- valign="top" scope="row"|<code>BASX0017</code>| Invalid values were used for fn:partial-apply().| <code></code>|- valign="top" scope="row"|<code>BASX0018</code>| Bytes could not be converted to a string.|
|}
Additional, module-specific error codes are listed in the descriptions of the query modules.
==Static Errors==
Error Codes: {{Code|<code>XPST}}</code>, {{Code|<code>XQST}}</code>
{| class="wikitable" width="100%"
|- valign="top" scope="row"
|<code>XPST0051</code>
| An unknown QName is used in a ''sequence type'' (e.g. in the target type of the {{Code|<code>cast}} </code> expression).
|<code>1 instance of x<hr/>"test" cast as xs:itr</code>
|- valign="top" scope="row"
|<code>XPST0080</code>
|<code>xs:NOTATION</code> or {{Code|<code>xs:anyAtomicType}} </code> is used as target type of {{Code|<code>cast}} </code> or {{Code|<code>castable}}</code>.
|<code>1 castable as xs:NOTATION</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XQST0076</code>
| A {{Code|<code>group by}} </code> or {{Code|<code>order by}} </code> clause specifies an unknown collation.
|<code>for $i in 1 to 10<br/>order by $i collation "unknown"<br/>return $i</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XQST0089</code>
| Two variables in a {{Code|<code>for}} </code> or {{Code|<code>let}} </code> clause have the same name.
|<code>for $a at $a in 1 return $i</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XQST0094</code>
|<code>group by</code> references a variable that has not been declared before.
|<code>for $a in 1 group by $b return $a</code>
|- valign="top" scope="row"
|<code>XQST0097</code>
| A {{Code|<code>decimal-format}} </code> property is invalid.
|<code>declare default decimal-format digit = "xxx"; 1</code>
|- valign="top" scope="row"
|<code>XQST0098</code>
| A single {{Code|<code>decimal-format}} </code> character was assigned to multiple properties.
|<code>declare default decimal-format digit = "%"; 1</code>
|- valign="top" scope="row"
==Type Errors==
Error Codes: {{Code|<code>XPTY}}</code>, {{Code|<code>XQTY}}</code>
{| class="wikitable" width="100%"
==Dynamic Errors==
Error Codes: {{Code|<code>XPDY}}</code>, {{Code|<code>XQDY}}</code>
{| class="wikitable" width="100%"
|- valign="top" scope="row"
|<code>XPDY0050</code>
| • The operand type of a {{Code|<code>treat}} </code> expression does not match the type of the argument, or<br/>• the root of the context item must be a document node.
|<code>"string" treat as xs:int<hr/>"string"[/]</code>
|-
| The name of a processing instruction is invalid.
|<code>processing-instruction { "1" } { "" }</code>
|- valign="top" scope="row"
|<code>XQDY0043</code>
| The node name of an attribute uses reserved prefixes or namespaces.
|<code>attribute xmlns { "etc" }</code>
|- valign="top" scope="row"
|<code>XQDY0064</code>
|- valign="top" scope="row"
|<code>XQDY0095</code>
| A sequence with more than one item was bound to a {{Code|<code>group by}} </code> clause.
|<code>let $a := (1,2) group by $a return $a</code>
|- valign="top" scope="row"
==Functions Errors==
Error Codes: {{Code|<code>FOAR}}</code>, {{Code|<code>FOCA}}</code>, {{Code|<code>FOCH}}</code>, {{Code|<code>FODC}}</code>, {{Code|<code>FODF}}</code>, {{Code|<code>FODT}}</code>, {{Code|<code>FOER}}</code>, {{Code|<code>FOFD}}</code>, {{Code|<code>FONS}}</code>, {{Code|<code>FORG}}</code>, {{Code|<code>FORX}}</code>, {{Code|<code>FOTY}}</code>, {{Code|<code>FOUT}}</code>
{| class="wikitable" width="100%"
|- valign="top" scope="row"
|<code>FOCA0005</code>
|<code>"NaN"</code> is supplied to duration operations.
|<code>xs:yearMonthDuration("P1Y") * xs:double("NaN")</code>
|-
|- valign="top" scope="row"
|<code>FODC0001</code>
| The argument specified in {{Code|<code>fn:id()}} </code> or {{Code|<code>fn:idref()}} </code> must have a document node as root.
|<code>id("id0", <xml/>)</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>FODC0006</code>
| The string passed to {{Code|<code>fn:parse-xml()}} </code> is not well-formed.
|<code>parse-xml("<x/")</code>
|- valign="top" scope="row"
|<code>FODC0007</code>
| The base URI passed to {{Code|<code>fn:parse-xml()}} </code> is invalid.
|<code>parse-xml("<x/>", ":")</code>
|-
|- valign="top" scope="row"
|<code>FODF1280</code>
| The name of the decimal format passed to {{Code|<code>fn:format-number()}} </code> is invalid.
|<code>format-number(1, "0", "invalid")</code>
|- valign="top" scope="row"
|<code>FODF1310</code>
| The picture string passed to {{Code|<code>fn:format-number()}} </code> is invalid.
|<code>format-number(1, "invalid")</code>
|-
| colspan=3 style="background-color:white;"|
|- valign="top" scope="row"
|<code>FODT0001</code>
| An arithmetic duration operation causes an over- or underflow.
|<code>xs:date('2000-01-01') + xs:duration('P99999Y')</code>
|- valign="top" scope="row"
|<code>FODT0002</code>
|- valign="top" scope="row"
|<code>FOER0000</code>
| Error triggered by the {{Code|<code>fn:error()}} </code> function.
|<code>error()</code>
|-
|- valign="top" scope="row"
|<code>FOFD1340</code>
| The picture string passed to {{Code|<code>fn:format-date()}}</code>, {{Code|<code>fn:format-time()}} </code> or {{Code|<code>fn:format-dateTime()}} </code> is invalid.
|<code>format-date(current-date(), "[]")</code>
|- valign="top" scope="row"
|<code>FOFD1350</code>
| The picture string passed to {{Code|<code>fn:format-date()}}</code>, {{Code|<code>fn:format-time()}} </code> or {{Code|<code>fn:format-dateTime()}} </code> specifies an non-available component.
|<code>format-time(current-time(), "[Y2]")</code>
|-
|- valign="top" scope="row"
|<code>FORG0002</code>
| The URI passed to {{Code|<code>fn:resolve-URI()}} </code> is invalid.
|<code>resolve-URI(":")</code>
|- valign="top" scope="row"
|<code>FORG0003</code>
|<code>fn:zero-or-one()</code> was called with more than one item.
|<code>zero-or-one((1, 2))</code>
|- valign="top" scope="row"
|<code>FORG0004</code>
|<code>fn:one-or-more()</code> was called with zero items.
|<code>one-or-more(())</code>
|- valign="top" scope="row"
|<code>FORG0005</code>
|<code>fn:exactly-one()</code> was called with zero or more than one item.
|<code>exactly-one((1, 2))</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>FORG0008</code>
| The arguments passed to {{Code|<code>fn:dateTime()}} </code> have different timezones.
|<code>dateTime(xs:date("2001-01-01+01:01"), current-time())</code>
|-
| The replacement string of a regular expression is invalid.
|<code>replace("input", "match", "\")</code>
|-
| colspan=3 style="background-color:white;"|
|- valign="top" scope="row"
|<code>FOTY0012</code>
| An item has no typed value.
|<code>count#1</code>
|- valign="top" scope="row"
|<code>FOTY0013</code>
| Functions items cannot be atomized, have no defined equality, and have no string representation.
|<code>data(false#0)</code>
|- valign="top" scope="row"
|<code>FOTY0014</code>
| Function items have no string representation.
|<code>string(map {})</code>
|- valign="top" scope="row"
|<code>FOTY0015</code>
| Function items cannot be compared.
|<code>deep-equal(false#0, true#0)</code>
|-
| colspan=3 style="background-color:white;"|
|<code>FOUT1170</code>
| Function argument cannot be used to retrieve a text resource.
|<code>unparsed-text(':')</code>
|- valign="top" scope="row"
|<code>FOUT1190FOUT1170</code>
| Encoding to retrieve a text resource is invalid or not supported.
|<code>unparsed-text('file.txt', 'InvalidEncoding')</code>
|}
....to be added: FOTY0012-0015
==Serialization Errors==
Error Codes: {{Code|<code>SEPM}}</code>, {{Code|<code>SERE}}</code>, {{Code|<code>SESU}}</code>
{| class="wikitable" width="100%"
|- valign="top" scope="row"
|<code>SEPM0009</code>
|<code>omit-xml-declaration</code> is set to {{Code|<code>yes}}</code>, and {{Code|<code>standalone}} </code> has a value other than {{Code|<code>omit}}</code>.
|
|- valign="top" scope="row"
|<code>SEPM0010</code>
|<code>method</code> is set to {{Code|<code>xml}}</code>, {{Code|<code>undeclare-prefixes}} </code> is set to {{Code|<code>yes}}</code>, and {{Code|<code>version}} </code> is set to {{Code|<code>1.0}}</code>.
|
|- valign="top" scope="row"
|<code>SERE0014</code>
|<code>method</code> is set to {{Code|<code>html}}</code>, and an invalid HTML character is found.
|
|- valign="top" scope="row"
|<code>SERE0015</code>
|<code>method</code> is set to {{Code|<code>html}}</code>, and a closing bracket (>) appears inside a processing instruction.
|
|- valign="top" scope="row"
|<code>SEPM0016</code>
| A specified parameter is unknown or has an invalid value.
|<code>declare option output:indent "nope"; 1</code>||- valign="top" scope="row"|<code>SEPM0017</code>| The definition of serialization parameter is invalid.
|
|}
==Update Errors==
Error Codes: {{Code|<code>FOUP}}</code>, {{Code|<code>XUDY}}</code>, {{Code|<code>XUST}}</code>, {{Code|<code>XUTY}}</code>
{| class="wikitable" width="100%"
|- valign="top" scope="row"
|<code>FOUP0001</code>
| The first argument of {{Code|<code>fn:put()}} </code> must be a document node or element.
|<code>fn:put(text { 1 }, 'file.txt')</code>
|- valign="top" scope="row"
|<code>FOUP0002</code>
| The second argument of {{Code|<code>fn:put()}} </code> is not a valid URI.
|<code>fn:put(<a/>, '//')</code>
|-
|- valign="top" scope="row"
|<code>XUDY0014</code>
| The expression updated by the {{Code|<code>modify}} </code> clause was not created by the {{Code|<code>copy}} </code> clause.
|<code>let $a := doc('a') return copy $b := $a modify delete node $a/* return $b</code>
|- valign="top" scope="row"
|<code>XUDY0015</code>
| In a {{Code|<code>rename}} </code> expression, a target is renamed more than once.
|<code>let $a := <xml/> return (rename node $a as 'a', rename node $a as 'b')</code>
|- valign="top" scope="row"
|<code>XUDY0016</code>
| In a {{Code|<code>replace}} </code> expression, a target is replaced more than once.
|<code>let $a := <x>x</x>/node() return (replace node $a with <a/>, replace node $a with <b/>)</code>
|- valign="top" scope="row"
|<code>XUDY0017</code>
| In a {{Code|<code>replace value of}} </code> expression, a target is replaced more than once.
|<code>let $a := <x/> return (replace value of node $a with 'a', replace value of node $a with 'a')</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XUDY0031</code>
| Multiple calls to {{Code|<code>fn:put()}} </code> address the same URI.
|<code>for $i in 1 to 3 return put(<a/>, 'file.txt')</code>
|-
|- valign="top" scope="row"
|<code>XUST0002</code>
| An updating expression is expected in the {{Code|<code>modify}} </code> clause or an updating function.
|<code>copy $a := <x/> modify 1 return $a</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XUTY0005</code>
| A single element or document node is expected as target of an {{Code|<code>insert}} </code> expression.
|<code>insert node <new/> into attribute a { "" }</code>
|- valign="top" scope="row"
|<code>XUTY0006</code>
| A single element, text, comment or processing instruction is expected as target of an {{Code|<code>insert before/after}} </code> expression.
|<code>insert node <new/> after attribute a { "" }</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XUTY0008</code>
| A single element, text, attribute, comment or processing instruction is expected as target of a {{Code|<code>replace}} </code> expression.
|<code>replace node document { <a/> } with <b/></code>
|- valign="top" scope="row"
|<code>XUTY0010</code>
| In a {{Code|<code>replace}} </code> expression, in which no attributes are targeted, the replacing nodes must not be attributes as well.
|<code>replace node <a><b/></a>/b with attribute size { 1 }</code>
|- valign="top" scope="row"
|<code>XUTY0011</code>
| In the {{Code|<code>replace}} </code> expression, in which attributes are targeted, the replacing nodes must be attributes as well.
|<code>replace node <e a=""/>/@a with <a/></code>
|- valign="top" scope="row"
|<code>XUTY0012</code>
| In a {{Code|<code>rename}} </code> expression, the target nodes must be an element, attribute or processing instruction.
|<code>rename node text { 1 } as <x/></code>
|- valign="top" scope="row"
|<code>XUTY0013</code>
| An expression in the {{Code|<code>copy}} </code> clause must return a single node.
|<code>copy $c := (<a/>, <b/>) modify () return $c</code>
|- valign="top" scope="row"
==Full-Text Errors==
Error Codes: {{Code|<code>FTDY}}</code>, {{Code|<code>FTST}}</code>
{| class="wikitable" width="100%"
|- valign="top" scope="row"
|<code>FTDY0017</code>
| The {{Code|<code>not in}} </code> operator contains a ''string exclude''.
|<code>'a' contains text 'a' not in (ftnot 'a')</code>
|- valign="top" scope="row"
|-
| colspan=3 style="background-color:white;"|
|- valign="top" scope="row"
|<code>FTST0000</code>
| BaseX specific: Either wildcard or the [[Full-Text#Fuzzy_Querying|fuzzy option]] can be chosen at the same time.
|<code>'a' contains text 'a' using wildcards using fuzzy</code>
|- valign="top" scope="row"
|<code>FTST0007</code>
| The full-text expression contains an ignore option (the {{Code|<code>ignore option}} </code> is not supported by BaseX).
|<code>'a' contains text 'a' without content 'x'</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>FTST0019</code>
| A match option was specified defined more than once.
|<code>'a' contains text 'a' using stemming using stemming</code>
|}
==[[ZIP Functions]] Errors==
Error Codes: <code>FOZP</code>
{| class="wikitable" width="100%"
! width="5%"|Code
! width="50%"|Description
! width="45%"|Examples
|- valign="top" scope="row"
|<code>FOZP0001</code>
| The specified path does not exist.
|<code>zip:entries('unknown.zip')</code>
|- valign="top" scope="row"
|<code>FOZP0002</code>
| Entries in the description of a ZIP archive are unknown, missing, or invalid.
|<code>zip:zip-file(<file xmlns="unknown" href='target.zip'/>)</code>
|- valign="top" scope="row"
|<code>FOZP0003</code>
| ZIP file extraction or creation fails for some other reason (e.g.: new ZIP file contains no entries, or duplicates).
|
|}
==[[Cryptographic Functions]] Errors==
Error Codes: <code>FOCX</code>
{| class="wikitable" width="100%"
! width="5%"|Code
! width="50%"|Description
! width="45%"|Examples
|- valign="top" scope="row"
|<code>FOCX0001</code>
| Canonicalization algorithm is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0002</code>
| Digest algorithm is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0003</code>
| Signature algorithm is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0004</code>
| XPath expression is invalid.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0005</code>
| Invalid name for $digital-certificate root.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0006</code>
| Invalid child element of $digital-certificate.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0007</code>
| Key store is null.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0008</code>
| I/O error while reading keystore.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0009</code>
| Permission denied to read keystore.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0010</code>
| Keystore URL is invalid.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0011</code>
| Keystore type is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0012</code>
| Cannot find key for alias in given keystore.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0013</code>
| Hashing algorithm is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0014</code>
| Encoding method is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0015</code>
| Cannot find signature element.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0016</code>
| No such padding.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0017</code>
| Incorrect padding.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0018</code>
| Encryption type is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0019</code>
| Secret key is invalid.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0020</code>
| Illegal block size.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0021</code>
| Algorithm is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX0022</code>
| Decryption type is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9999</code>
| Signature type is not supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9998</code>
| Not (yet) supported.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9997</code>
| Algorithm not compatible with encryption type.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9996</code>
| IO Exception.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9995</code>
| Keystore exception.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9994</code>
| Signature exception.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9993</code>
| Invalid algorithm.
|<code></code>
|- valign="top" scope="row"
|<code>FOCX9992</code>
| Invalid certificate alias.
|<code></code>
|}
==[[File Functions]] Errors==
Error Codes: <code>FOFL</code>
{| class="wikitable" width="100%"
! width="5%"|Code
! width="50%"|Description
! width="45%"|Examples
|- valign="top" scope="row"
|<code>FOFL0001</code>
| The specified path does not exist.
|<code>file:size('unknown.txt')</code>
|- valign="top" scope="row"
|<code>FOFL0002</code>
| The specified path does already exist.
|<code>file:create-directory('existing-directory')</code>
|- valign="top" scope="row"
|<code>FOFL0003</code>
| The specified path does not point to a directory.
|<code>file:list('file.txt')</code>
|- valign="top" scope="row"
|<code>FOFL0004</code>
| The specified path points to a directory.
|<code>file:read('directory')</code>
|- valign="top" scope="row"
|<code>FOFL0005</code>
| The specified encoding is not supported.
|<code>file:read('file.txt', 'UTF99')</code>
|- valign="top" scope="row"
|<code>FOFL9999</code>
| A file operation fails for any other reason.
|<code></code>
|}
==[[HTTP Functions]] Errors==
Error Codes: <code>FOHC</code>
{| class="wikitable" width="100%"
! width="5%"|Code
! width="50%"|Description
! width="45%"|Examples
|- valign="top" scope="row"
|<code>FOHC0001</code>
| The specified URL is invalid.
|<code></code>
|- valign="top" scope="row"
|<code>FOHC0002</code>
| The requested method is not valid for HTTP.
|<code></code>
|- valign="top" scope="row"
|<code>FOHC0004</code>
| The request element is not valid.
|<code></code>
|- valign="top" scope="row"
|<code>FOHC0005</code>
| An HTTP error occurred.
|<code></code>
|- valign="top" scope="row"
|<code>FOHC0006</code>
| The provided credentials are invalid.
|<code></code>
|- valign="top" scope="row"
|<code>FOHC0007</code>
| The HTML input could not be parsed.
|<code></code>
|}
==[[SQL Functions]] Errors==
Error Codes: <code>FOSQ</code>
{| class="wikitable" width="100%"
! width="5%"|Code
! width="50%"|Description
! width="45%"|Examples
|- valign="top" scope="row"
|<code>FOSQ0001</code>
| An SQL exception occurred.
|<code></code>
|- valign="top" scope="row"
|<code>FOSQ0002</code>
| No opened connection with the specified id found.
|<code></code>
|- valign="top" scope="row"
|<code>FOSQ0003</code>
| Number of parameters differs from number of placeholders.
|<code></code>
|- valign="top" scope="row"
|<code>FOSQ0004</code>
| No parameter type specified.
|<code></code>
|- valign="top" scope="row"
|<code>FOSQ0005</code>
| An unexpected attribute was found.
|<code></code>
|- valign="top" scope="row"
|<code>FOSQ0006</code>
| The specified format is illegal.
|<code></code>
|- valign="top" scope="row"
|<code>FOSQ0007</code>
| The JDBC driver cannot be initialized.
|<code></code>
|}
[[Category:XQuery]]