[MOD] XQuery: better error localizations