dimethyl terephthalate is recovered from polymer mixtures containing polymers of terephthalic acid and glycol and a chloride polymer , by adding base to neutralize the hydrochloric acid formed by the degradation of the chloride polymer .