Skip to content

Commit 4c24178

Browse files
izeyecorneil
andauthored
Support jar:nested in SchemaFactoryUtils (#1401)
* Support jar:nested in SchemaFactoryUtils Closes gh-1393 * Update SchemaFactoryUtils Required nested not jar:nested --------- Co-authored-by: Corneil du Plessis <corneil.duplessis@gmail.com>
1 parent c7d28ae commit 4c24178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-xml/src/main/java/org/springframework/xml/validation/SchemaFactoryUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static SchemaFactory newInstance(String schemaLanguage) {
5252

5353
try {
5454
schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA,
55-
ResourceUtils.URL_PROTOCOL_FILE + "," + "jar:file" + "," + ResourceUtils.URL_PROTOCOL_WSJAR);
55+
ResourceUtils.URL_PROTOCOL_FILE + "," + "jar:file" + "," + "nested" + "," + ResourceUtils.URL_PROTOCOL_WSJAR);
5656
} catch (SAXNotRecognizedException | SAXNotSupportedException e) {
5757
if (log.isWarnEnabled()) {
5858
log.warn(XMLConstants.ACCESS_EXTERNAL_SCHEMA + " property not supported by "

0 commit comments

Comments
 (0)