Subdivisions and the chromatic index of r -graphs