with halogen acids or salts thereof