We have tested and reproduced this issue and it is currently under investigation. Thank you for bringing it to our attention. Please give us some time to investigate and we'll get back to you as soon as we have a conclusive answer.
It seems the related issue is generated by your project current state and not by the xml import operation. Can you please tell us how it is created your project? For example did you use our import features (Repackager, MSI import, etc.) in order to add resource files to your project or you manually add the resource file from "Files and Folders" view? Also, did you manually edit the .aip file?
All the best,