Addendum patch for Configuration fix. (Jason Lowe via asuresh)

This commit is contained in:
Arun Suresh 2017-11-13 14:03:50 -08:00
parent 4908a8970e
commit b07e68b02a
1 changed files with 4 additions and 2 deletions

View File

@ -2962,7 +2962,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
// xi:include are treated as inline and retain current source
URL include = getResource(confInclude);
if (include != null) {
Resource classpathResource = new Resource(include, name);
Resource classpathResource = new Resource(include, name,
wrapper.isParserRestricted());
loadResource(properties, classpathResource, quiet);
} else {
URL url;
@ -2983,7 +2984,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
}
url = href.toURI().toURL();
}
Resource uriResource = new Resource(url, name);
Resource uriResource = new Resource(url, name,
wrapper.isParserRestricted());
loadResource(properties, uriResource, quiet);
}
break;