Small improvements to xml import warnings