Changes

Jump to navigation Jump to search
1,211 bytes added ,  18:01, 29 January 2011
| The replacement string of a regular expression is invalid.
|<code>replace("input", "match", "\")</code>
|}
 
==Update Errors (XUST, XUDY, XUTY, FOUP)==
 
{| class="wikitable" width="100%"
! width="5%"|Code
! width="65%"|Description
! width="30%"|Examples
|- valign="top" scope="row"
|<code>XUST0001</code>
| No updating expression is allowed here.
|<code>delete node /, "finished."</code>
|- valign="top" scope="row"
|<code>XUST0002</code>
| An updating expression is expected in the <code>modify</code> clause or an updating function.
|<code>copy $a := <x/> modify 1 return $a</code>
|- valign="top" scope="row"
|<code>XUST0003</code>
| The revalidation mode was declared more than once.
|<code>declare revalidation ...</code>
|- valign="top" scope="row"
|<code>XUST0026</code>
| The query contains a revalidate expression (revalidation is not supported by BaseX).
|<code>declare revalidation ...</code>
|- valign="top" scope="row"
|<code>XUST0028</code>
| no return type may be specified in an updating function.
|<code>declare updating function local:x() as item() { () }; ()</code>
|-
| colspan=3 style="background-color:white;"|
|- valign="top" scope="row"
|<code>XUDY0009</code>
| In a replace expression, the target node needs a parent in order to be replaced.
|<code>replace node <target/> with <new/></code>
|}
Still to be finished…
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu