XMLUnit v2.6.4 Release Notes

Release Date: 2020-03-08 // 24 days ago
  • 🚀 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

    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-legacy will now use NewDifferenceEngine even when an
    ElementQualifier different from the built-in ones is used.

Previous changes from v2.6.3

  • 🚀 The release fixes a bug in a corner-case and adds a new isNumber placeholder.

    The full list of changes:

    ➕ add a new ${xmlunit.isNumber} placeholder
    Issue #153 via PR #154 by @NathanAtClarity.

    the XPath values of a comparison should not be affected by any NodeFilter being in effect.
    Issue #156