more better diagnostic info for xml loaders