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

View File

@ -2962,7 +2962,8 @@ private Resource loadResource(Properties properties,
// 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 @@ private Resource loadResource(Properties properties,
} }
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;