Map<String, String> nsPkgMap = context.getNamespacePackageMap();
for (String ns : nsPkgMap.keySet()) {
File file = JAXBUtils.getPackageMappingSchemaBindingFile(ns, context.mapPackageName(ns));
InputSource ins = new InputSource(file.toURI().toString());
schemaCompiler.parseSchema(ins);
FileUtils.delete(file);
}
if (context.getPackageName() != null) {
schemaCompiler.setDefaultPackageName(context.getPackageName());