Catch exception in XML import, fixes #5786

Show warning message instead of breaking the import process
when there is an error trying to fetch an external digital object