Addendum patch for Configuration fix. (Jason Lowe via asuresh)
(cherry picked from commit 4e847d63a3
)
This commit is contained in:
parent
238a70c6c3
commit
ed0658a579
|
@ -2852,7 +2852,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;
|
||||
|
@ -2873,7 +2874,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;
|
||||
|
|
Loading…
Reference in New Issue