XMLUnit v2.12.0 Release Notes

Release Date: 2026-05-31 // 13 days ago
  • 🚀 This release may require you to adjust you configuration when comparing files that use DTDs. When XMLUnit 2.6.0 has been release it was intended to disallow DTD parsing by default, but due to a bug still allowed it. This has now been fixed.

    Full list of changes:

    • ⬆️ bumped xmlunit-assertj3's dependency on assert to 3.27.7.

    • 📜 actually made withDTDParsingDisabled do what it says.


Previous changes from v2.11.0

  • 🚀 This release is identical to XMLUnit for Java 2.10.4 except for the dependency list of the xmlunit-jakarta-jaxb-impl modulle. If you don't use the module, you can ignore this release.

    👀 Up until XMLUnit 2.10.4 the xmlunit-jakarta-jaxb-impl module depended on org.glassfish.jaxb:jaxb-runtime making it more difficult to chose a different JAXB implementation than necessary (see #313). This dependency has now been removed.

    🏗 If you use the xmlunit-jakarta-jaxb-impl module you may now need to specify the JAXB implementation you want to use explicitly. If you have excluded the module's dependency inside your own build configuration so far, you can now safely remove the exclusion.