// Add mapping locations
PropertyValue mappingLocationsProp = properties.getPropertyValue("mappingLocations");
if (mappingLocationsProp != null) {
List<TypedStringValue> mappingLocations = (List<TypedStringValue>) mappingLocationsProp.getValue();
if (mappingLocations != null) {
ResourcePatternResolver resourcePatternResolver = new PathMatchingResourcePatternResolver();
for (TypedStringValue mappingLocation : mappingLocations) {
LOG.info("Found mappingLocation " + mappingLocation.getValue());
Resource[] resources = resourcePatternResolver.getResources(mappingLocation.getValue());
for (int i = 0; i < resources.length; i++) {
LOG.info("Adding resource " + resources[i].getURL());
try {
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
// Disable DTD resolution