| ERROR | XPTY0006 - XQuery dynamic type mismatch: expected string got string |
| CAUSE | The expression could not be used because its dynamic type did not match the required type as specified by XQuery sequencetype matching rules. |
| ACTION | Fix the expression to return the expected type or use appropriate cast functions. |