throw new IllegalArgumentException("schemaLocation is null for xsd:import");
URL locationURL = getLocationURL(wsdlLoc, location);
if (!publishedLocations.containsKey(locationURL))
{
Element rootElement = DOMUtils.parse(new ResourceURL(locationURL).openStream());
processSchemaInclude(types, locationURL, rootElement, publishedLocations);
}
URL newLoc = publishedLocations.get(locationURL);
if (newLoc != null)
importEl.setAttribute("schemaLocation", newLoc.toExternalForm());