On export t5memory may place values with forbidden xml characters into creationid attribute of TU tag as example.
On import t5memory can't process html entities in same creationid attribute.
Fix units on export and cleanup them on import