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>
This commit is contained in:
Johnny Lim
2024-01-03 20:20:15 +09:00
committed by GitHub
parent c7d28ae75d
commit 4c241785e7

View File

@@ -52,7 +52,7 @@ public class SchemaFactoryUtils {
try {
schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA,
ResourceUtils.URL_PROTOCOL_FILE + "," + "jar:file" + "," + ResourceUtils.URL_PROTOCOL_WSJAR);
ResourceUtils.URL_PROTOCOL_FILE + "," + "jar:file" + "," + "nested" + "," + ResourceUtils.URL_PROTOCOL_WSJAR);
} catch (SAXNotRecognizedException | SAXNotSupportedException e) {
if (log.isWarnEnabled()) {
log.warn(XMLConstants.ACCESS_EXTERNAL_SCHEMA + " property not supported by "