[linker] process only .xml files, catch xml exceptions