The determination of halogens