Investigation of Functional Carboxy-Containing Oligomers by IR and NMR Spectroscopy