Changes

Jump to navigation Jump to search
273 bytes removed ,  15:23, 29 January 2011
no edit summary
|}
==XPTY: Type XPath Errors: XPTY, XQTY==
{| class="wikitable" width="100%"
| The result of a step (other than the last step) in a path expression contains an atomic values.
|<code>(1 to 10)/*</code>
|}
 
==XQTY: Type XQuery Errors==
 
{| class="wikitable" width="100%"
! width="5%"|Code
! width="65%"|Description
! width="30%"|Examples
|- valign="top" scope="row"
|<code>XQTY0024</code>
|}
==XPDY: Dynamic XPath Errors: XPDY, XQDY==
{| class="wikitable" width="100%"
| • No value has been defined for an external variable, or<br />• no context item has been set before the query was executed.
|<code>declare variable $x external; $x<hr/>descendant::*</code>
|- valign="top" scope="row"
|<code>XPDY0050</code>
| • The operand type of a <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>
|}
 
==XQDY: Dynamic XQuery Errors==
 
{| class="wikitable" width="100%"
! width="5%"|Code
! width="65%"|Description
! width="30%"|Examples
|- valign="top" scope="row"
|<code>XQDY0025</code>
| The node name of an attribute uses certain pre-defined prefixes or namespaces.
|<code>attribute xmlns { "etc" }</code>
|- valign="top" scope="row"
|<code>XPDY0050</code>
| • The operand type of a <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>
|- valign="top" scope="row"
|<code>XQDY0064</code>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu