CH3COOH(i)SOCl2−−−−−−−→(ii)2CH2N2CH3COHN2H2O−−−→Ag2OCH3CH2COOH
The above set of reactions is named as
Arndt - Eistert reaction
CH3COOHSOCl2−−−−→CH3COClCH2N2−−−−→CH3COCHN2+HCl
CH3COCHN2H2O−−−−−−−−−→Ag2O(Catalyst)CH3CH2COOH
HCl so formed is removed by second molecule of CH2N2(CH2N2+HCl→CH3Cl+N2 other with diazoketone to form halomethyl ketone as the final product).
CH3COCHN2+HCl→CH3COCH2Cl+N2