Changes

Jump to navigation Jump to search
2,347 bytes removed ,  01:01, 26 May 2012
! width="35%"|Examples
|- valign="top" scope="row"
|<code>BASX0001BASX0000</code>| The addressed database lacks a required index.|<code>ft:search('dbWithoutFtIndex'Generic error, 'term')</code>|- valign="top" scope="row"|<code>BASX0002</code>| The specified node which is not stored in a database.|db:text(<xml/>, 'word')|- valign="top" scope="row"|<code>BASX0003</code>| The specified database was not found or could not be opened.|<code>db:open('unknown')</code>|- valign="top" scope="row"|<code>BASX0004</code>| The database node referenced thrown by a function is 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.Java Bindings#Context-Awareness|context- valign="top" scope="row"|<code>BASX0006</code>| The query was timed out. The <code>[[Options#TIMEOUT|TIMEOUTaware Java bindings]]</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>BASX0007BASX0001</code>| Nodes were expected as query result. This error is only raised by the internal BaseX Java function <code>QueryProcessor.queryNodes()</code>.|The current user has insufficient [[User Management|- valign="top" scope="row"|<code>BASX0008</code>| A database addressed with the <code>doc()</code> function contains more than one documentpermissions]] to execute an expression.| <code>docfile:delete('collectionfile.txt')</code>|- valign="top" scope="row"|<code>BASX0009</code>| The specified event is unknown.| <code>db:event('unknown', Create'event')</code>rights needed.
|- valign="top" scope="row"
|<code>BASX0010</code>
| The specified database option is unknown.
| <code>declare option db:xyz "no"; 1</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>BASX0013</code>
| 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>json:parse('{{}}')</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.
|
|- valign="top" scope="row"
|<code>BASX0022</code>
| Wildcard and [[Full-Text#Fuzzy_Querying|fuzzy option]] cannot be chosen at the same time.
|<code>'a' contains text 'a' using wildcards using fuzzy</code>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu