Validate xml before importing it from the archive