Element name and type attribute switched.