Skip to content

XMLUnit 2.6.4

Compare
Choose a tag to compare
@bodewig bodewig released this 08 Mar 14:10
· 34 commits to master since this release

This release fixes a bug that affects the XPath for missing nodes in certain corner cases and improves the AsssertJ module. In particular XMLUnit 2.6.4 is supposed to be compatible with AssertJ 3.13.x.

The full list of changes:

  • the dependencies on JAXB implementation and its transitive
    dependencies has been promoted from test scope to optional for Java
    9 and later
    Issue #162

  • added containsAnyNodeHavingXPath, containsAllNodesHavingXPath
    and hasXPath assertions to xmlunit-assertj.

  • added extractingAttribute method to xmlunit-assertj.

  • removed some redundant instanceof checks.
    PR #171 by
    @PascalSchumacher.

  • xmlunit-assertj should now work with AssertJ-Core 3.13.x
    Issue #166

  • the XPath values for comparisons resulting in CHILD_LOOKUP
    differences could be wrong when NodeFilters were present.
    XMLUnit.NET Issue
    xmlunit.net/#29

  • xmlunit-legacy will now use NewDifferenceEngine even when an
    ElementQualifier different from the built-in ones is used.