[O:1]1[C:5]([C:6]2[CH:15]=[CH:14][C:9]([C:10]([O:12]C)=[O:11])=[CH:8][CH:7]=2)=[CH:4][N:3]=[CH:2]1>[OH-].[K+].C1COCC1>[O:1]1[C:5]([C:6]2[CH:7]=[CH:8][C:9]([C:10]([OH:12])=[O:11])=[CH:14][CH:15]=2)=[CH:4][N:3]=[CH:2]1The above ester was heated at reflux for 2 hours in a mixture of 1 M aqueous potassium hydroxide and 50 ml THF. The THF was removed in vacuo and the solution cooled, then acidified with 50% HCl to give 4-(1,3-oxazol-5-yl)benzoic acid as a white solid.