Hello chemists,
on WIKI I found these reactions: esters of carbox. acids + HCl = carbox. acids + haloalkanes, for example HCOOCH2CH2CH3 + HCl = HCOOH + CH3CH2CH2Cl, or CH3COOH + CH3COOCH2CH2CH3 + HCl = CH3COOH + CH3CH2CH2Cl.
When I studied this type of reaction, I always came to the conclusion that the hydrochloric acid is hydrolyzing the ester back to the reactants, but there is no information that these reactions took place, which I did. Can you explain to me how they came to this? How to convert esters to haloalkanes by this reaction?
Thank you, Lukáš S.