[MOD] XQuery Update: faster check of duplicate attributes/conflicting ns