Use warning instead of error to log failure to delete XML record
Most of the time it is fine to fail to delete XML record if they are used. So there is no point to make it looks so bad.
Most of the time it is fine to fail to delete XML record if they are used. So there is no point to make it looks so bad.