Fixed incorrect definition of textType: x and y attributes should have
type CoordinatesType, not CoordinateType