Halogen attached directly or indirectly to the cyclic anhydride by nonionic bonding