Catch xml parse errors importing archives