Such XML is generated by software like jEveAssets's owned ships->fitting export tool. Without such detection, pyfa will go and try to import those as DNA fits, with all the ensuing hilarity, thus the DNA import debug code as well.