Validate xml plugin