Metal ion-assisted intramolecular nucleophilic attack of the amide oxygen at ester linkages in 2-pyridineoxime esters of (Z)-α-(acetylamino)cinnamic acid