* @throws Exception
*/
public void setResourcePaths(List<String> paths) throws Exception{
getLog().info("set resource paths to ", paths);
ResourceLoader resourceLoader = new BoostedDefaultResourceLoader();
for (String path: paths){
if (resourcePathTransformation != null){
path = resourcePathTransformation.value(path);
}
Resource resource = resourceLoader.getResource(path);
Document doc = DomUtils.read(resource.getInputStream());
Node schemaNode = DomUtils.getNode(true, doc, "schema");
for (Node simpleType: DomUtils.getNodes(true, schemaNode, "simpleType")){
//Use defined format
for (Node annotation: DomUtils.getNodes(true, simpleType, "annotation")){