You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2026/06/16 12:40:55 UTC

(santuario-xml-security-java) branch 3.0.x-fixes updated (023965a8 -> 0a53d788)

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

coheigea pushed a change to branch 3.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git


    from 023965a8 Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.5 to 3.5.6 (#609)
     new 09b26fa8 Bump org.jacoco:jacoco-maven-plugin from 0.8.14 to 0.8.15 (#612)
     new 931dfa5c Fixing test after XMLUnit upgrade
     new 0a53d788 Bump xmlunit.version from 2.11.0 to 2.12.0 (#608)

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                           | 4 ++--
 .../xml/security/test/stax/XMLSecurityStreamWriterTest.java       | 8 +++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)


(santuario-xml-security-java) 02/03: Fixing test after XMLUnit upgrade

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git

commit 931dfa5ce02699a28798af3912e62cc392e47dfd
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Jun 16 08:16:21 2026 +0100

    Fixing test after XMLUnit upgrade
---
 .../xml/security/test/stax/XMLSecurityStreamWriterTest.java       | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/xml/security/test/stax/XMLSecurityStreamWriterTest.java b/src/test/java/org/apache/xml/security/test/stax/XMLSecurityStreamWriterTest.java
index 1bf448d8..609789a0 100644
--- a/src/test/java/org/apache/xml/security/test/stax/XMLSecurityStreamWriterTest.java
+++ b/src/test/java/org/apache/xml/security/test/stax/XMLSecurityStreamWriterTest.java
@@ -28,6 +28,7 @@ import java.util.List;
 import java.util.Set;
 
 import javax.xml.namespace.NamespaceContext;
+import javax.xml.parsers.DocumentBuilderFactory;
 import javax.xml.stream.XMLEventWriter;
 import javax.xml.stream.XMLOutputFactory;
 import javax.xml.stream.XMLStreamException;
@@ -47,6 +48,7 @@ import org.hamcrest.MatcherAssert;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 import org.xmlunit.matchers.CompareMatcher;
+import org.xmlunit.util.DocumentBuilderFactoryConfigurer;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
@@ -189,7 +191,11 @@ public class XMLSecurityStreamWriterTest {
         stdXmlStreamWriter.close();
         xmlSecurityStreamWriter.close();
 
-        MatcherAssert.assertThat(stdStringWriter.toString(), CompareMatcher.isSimilarTo(securityStringWriter.toString()));
+        MatcherAssert.assertThat(stdStringWriter.toString(),
+            CompareMatcher.isSimilarTo(securityStringWriter.toString())
+                .withDocumentBuilderFactory(
+                    DocumentBuilderFactoryConfigurer.DefaultWithDTDParsing.configure(
+                        DocumentBuilderFactory.newInstance())));
     }
 
     // @see https://issues.apache.org/jira/browse/SANTUARIO-433


(santuario-xml-security-java) 01/03: Bump org.jacoco:jacoco-maven-plugin from 0.8.14 to 0.8.15 (#612)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git

commit 09b26fa82bd1664e8ef2470604365e2537844256
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Jun 16 07:49:24 2026 +0100

    Bump org.jacoco:jacoco-maven-plugin from 0.8.14 to 0.8.15 (#612)
    
    Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.14 to 0.8.15.
    - [Release notes](https://github.com/jacoco/jacoco/releases)
    - [Commits](https://github.com/jacoco/jacoco/compare/v0.8.14...v0.8.15)
    
    ---
    updated-dependencies:
    - dependency-name: org.jacoco:jacoco-maven-plugin
      dependency-version: 0.8.15
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index d84ff30e..32b5b454 100644
--- a/pom.xml
+++ b/pom.xml
@@ -472,7 +472,7 @@
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
-                <version>0.8.14</version>
+                <version>0.8.15</version>
                 <configuration>
                     <outputDirectory>${project.build.directory}</outputDirectory>
                     <includes>


(santuario-xml-security-java) 03/03: Bump xmlunit.version from 2.11.0 to 2.12.0 (#608)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git

commit 0a53d788f6019fdc1c2102334b1ef9c1160bca7b
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Jun 16 12:41:27 2026 +0100

    Bump xmlunit.version from 2.11.0 to 2.12.0 (#608)
    
    Bumps `xmlunit.version` from 2.11.0 to 2.12.0.
    
    Updates `org.xmlunit:xmlunit-core` from 2.11.0 to 2.12.0
    - [Release notes](https://github.com/xmlunit/xmlunit/releases)
    - [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md)
    - [Commits](https://github.com/xmlunit/xmlunit/compare/v2.11.0...v2.12.0)
    
    Updates `org.xmlunit:xmlunit-matchers` from 2.11.0 to 2.12.0
    - [Release notes](https://github.com/xmlunit/xmlunit/releases)
    - [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md)
    - [Commits](https://github.com/xmlunit/xmlunit/compare/v2.11.0...v2.12.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.xmlunit:xmlunit-core
      dependency-version: 2.12.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
    - dependency-name: org.xmlunit:xmlunit-matchers
      dependency-version: 2.12.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 32b5b454..345f4820 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,7 @@
         <log4j.version>2.25.3</log4j.version>
         <slf4j.version>1.7.36</slf4j.version>
         <xalan.version>2.7.3</xalan.version>
-        <xmlunit.version>2.11.0</xmlunit.version>
+        <xmlunit.version>2.12.0</xmlunit.version>
         <xml.bind.api.version>3.0.1</xml.bind.api.version>
         <xml.bind.impl.version>3.0.2</xml.bind.impl.version>
         <woodstox.core.version>6.5.1</woodstox.core.version>