| Two or more parameters of a function have the same name.
|<code>declare function local:fun($a, $a) { $a * $a };<br/>local:fun(1,2)</code>
|- valign="top" scope="row"
|<code>XQDY0040</code>
| Two or more attributes in an element have the same node name.
|<code><elem a="1" a="12"/></code>
|}