public void applyModuleImport(Import mImport) throws XPathException {
boolean foundOne = false;
// resolve the location URIs against the base URI
Platform platform = Configuration.getPlatform();
for (int i=0; i<mImport.locationURIs.size(); i++) {
try {
String uri = (String)mImport.locationURIs.get(i);
URI abs = platform.makeAbsolute(uri, env.getBaseURI());
mImport.locationURIs.set(i, abs);
} catch (URISyntaxException e) {
grumble("Invalid URI " + mImport.locationURIs.get(i) + ": " + e.getMessage());
}
}