SimpleXsdSchema schema = new SimpleXsdSchema(resource);
schema.afterPropertiesSet();
schemas.add(schema);
} else if (resource.getFilename().endsWith(".wsdl")) {
log.info("Loading WSDL schema resource " + resource.getFilename());
WsdlXsdSchema wsdl = new WsdlXsdSchema(resource);
wsdl.afterPropertiesSet();
schemas.add(wsdl);
} else {
log.warn("Skipped resource other than XSD schema for repository (" + resource.getFilename() + ")");
}
}