When primary alcohol is oxidised with chlorine