Ceria in halogen chemistry