Coded around error in XQuery processor