Changes

Jump to navigation Jump to search
49 bytes removed ,  16:42, 29 January 2011
no edit summary
|<code>XPST0017</code>
| • The specified function is unknown, or<br />• it uses the wrong number of arguments.
|<code>fn:unknown()<hr/>fn:count(1,2,3)</code>
|- valign="top" scope="row"
|<code>XQST0022</code>
|<code>XPTY0004</code>
| This error is raised if an expression has the wrong type, or cannot be cast into the specified type. It may be raised both statically (during query compilation) or dynamically (at runtime).
|<code>1 + "A"<hr/>fn:abs("a")<hr/>1 cast as xs:gYear</code>
|- valign="top" scope="row"
|<code>XPTY0018</code>
|- valign="top" scope="row"
|<code>XQDY0043</code>
| The node name of an attribute uses certain pre-defined reserved prefixes or namespaces.
|<code>attribute xmlns { "etc" }</code>
|- valign="top" scope="row"
|- valign="top" scope="row"
|<code>XQDY0096</code>
| The node name of an element uses certain pre-defined reserved prefixes or namespaces.|<code>element { fn:QName("uri", "xml:n") } {}</code>
|}
|<code>FODT0002</code>
| A duration declaration or operation causes an over- or underflow.
|<code>fn:implicit-timezone() div 0</code>
|- valign="top" scope="row"
|<code>FODT0003</code>
|<code>FODF1280</code>
| The name of the decimal format passed to <code>fn:format-number()</code> is invalid.
|<code>fn:format-number(1, "0", "invalid")</code>
|- valign="top" scope="row"
|<code>FODF1310</code>
| The picture string passed to <code>fn:format-number()</code> is invalid.
|<code>fn:format-number(1, "invalid")</code>
|-
| colspan=3 |
|<code>FOFD1340</code>
| The picture string passed to <code>fn:format-date()</code>, <code>fn:format-time()</code> or <code>fn:format-dateTime()</code> is invalid.
|<code>fn:format-date(current-date(), "[]")</code>
|- valign="top" scope="row"
|<code>FOFD1350</code>
| The picture string passed to <code>fn:format-date()</code>, <code>fn:format-time()</code> or <code>fn:format-dateTime()</code> specified an non-available component.
|<code>fn:format-time(current-time(), "[Y2]")</code>
|-
| colspan=3 |
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu