[FIX] XQuery, parsing of path expressions: better error messages