This attack exploits a vulnerable XML feature.
Running it through an XML parser will recursively expand the entities and occupy a large amount of memory.Reading it as plain text won't do anything at all.