You can change entity declarations in the internal DTD subset:
Change the declaration of an internal entity
You can change the name of a declared internal entity (but not its content).
Change the declaration of an external entity
You can change the name of a declared external entity and/or the name of the file (but not its content).