High-resolution measurements of K-shell emission from O, F, and Ne have been performed at the ASDEX Upgrade tokamak in Garching, Germany. Independently measured temperature and density profiles of the plasma provide a unique test bed for model validation. We present comparisons of measured spectra with calculations based on transport and collisional-radiative models and discuss the reliability of commonly used diagnostic line ratios