ERROR | XPST0005 - XQuery static type error: expected non empty type got empty sequence |
CAUSE | The static type assigned to an expression other than the () expression must not be the empty type. |
ACTION | Fix the expression so it does not return empty sequences. |