Addendum patch for Configuration fix. (Jason Lowe via asuresh)
This commit is contained in:
parent
4908a8970e
commit
b07e68b02a
|
@ -2962,7 +2962,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
|
||||||
// xi:include are treated as inline and retain current source
|
// xi:include are treated as inline and retain current source
|
||||||
URL include = getResource(confInclude);
|
URL include = getResource(confInclude);
|
||||||
if (include != null) {
|
if (include != null) {
|
||||||
Resource classpathResource = new Resource(include, name);
|
Resource classpathResource = new Resource(include, name,
|
||||||
|
wrapper.isParserRestricted());
|
||||||
loadResource(properties, classpathResource, quiet);
|
loadResource(properties, classpathResource, quiet);
|
||||||
} else {
|
} else {
|
||||||
URL url;
|
URL url;
|
||||||
|
@ -2983,7 +2984,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
|
||||||
}
|
}
|
||||||
url = href.toURI().toURL();
|
url = href.toURI().toURL();
|
||||||
}
|
}
|
||||||
Resource uriResource = new Resource(url, name);
|
Resource uriResource = new Resource(url, name,
|
||||||
|
wrapper.isParserRestricted());
|
||||||
loadResource(properties, uriResource, quiet);
|
loadResource(properties, uriResource, quiet);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue