This is an automated email from the ASF dual-hosted git repository.

ppkarwasz pushed a commit to branch feat/2.x/xinclude-resolver
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/feat/2.x/xinclude-resolver by 
this push:
     new e907386f49 fix: set `systemId` in resolver too
e907386f49 is described below

commit e907386f49ac7d0f00ce04427edfa7abbd49e299
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Mon Aug 31 18:04:51 2026 +0200

    fix: set `systemId` in resolver too
---
 .../java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
index 4c49ab4105..b0a1e56022 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
@@ -391,6 +391,7 @@ public class XmlConfiguration extends AbstractConfiguration 
implements Reconfigu
                     input.setSystemId(source.getLocation());
                 } else {
                     input.setCharacterStream(emptyReader());
+                    input.setSystemId(systemId);
                 }
                 input.setPublicId(publicId);
                 return input;

Reply via email to