Menu

XMLUnit for Java 2.8.0 and XMLUnit.NET 2.9.0 Released

Both releases are mostly bugfix releases. Unfortunately both are going
to break backwards compatibility for some people.

All modules of XMLUnit for Java now require Java7 as a minimum and the
optional JAXB dependency has been updated to use the Jakarta XML
Binding API. XMLUnit.NET has made ISource disposable which is going
to break custom implementations.

Details for XMLUnit for Java 2.8.0

  • changed optional JAXB dependency to use Jakarta XML Binding API
    PR #186 by @endrejeges

  • bumped the bytebuddy dependency to 1.10.10 for the AssertJ module in the hope it would help with #188

  • and change its scope from provided to compile time, which should finally fix the issue.

  • added a new extractingText method to MultipleNodeAssert to make it possible to write AssertJ assertions against the textual content of nodes more easily.
    Issue #192 and PR #193 by @keesvandieren

  • changed the minimum Java version required from Java 6 to Java 7 for all modules (it has already been Java 7 for the AssertJ module before).

  • DefaultNodeMatcher with multiple ElementSelectors could fail to find the best matches as the order of ElementSelectors should select them.
    #197

  • Input builder now supports java.nio.file.Path
    #196

  • It is now possible to specify a custom TransformerFactory for DefaultComparisonFormatter.
    #195

Details for XMLUnit.NET 2.9.0

  • ISource now extends IDisposable to allow releasing unmanaged resources used when building sources from files or URIs.
    This change is backwards incompatible if you are providing ISource implementations of your own.
    #33.

  • DefaultNodeMatcher with multiple ElementSelectors could fail to find the best matches as the order of ElementSelectors should select them.
    Issue similar to xmlunit/#197

Posted by Stefan Bodewig 2020-10-30

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.