[MIN] XQuery, Validate Module: revert usage of DOM instances