Better error reporting in import XML