<commit_before># Release Notes

## XMLUnit.NET 2.6.0 - /Not Released, yet/

* add a new experimental module xmlunit-placeholders which aims to
  use `${xmlunit.FOO}` expressions inside of the control document to
  allow for a DSL-like approach of defining more complex tests.
  This initial seed only supports `${xmlunit.ignore}` which can be
  used to make XMLUnit ignore the element containing this text.

* fixed the message when `CompareConstraint` or
  `ValidationConstraints` (both NUnit 2.x and 3.x) as well as
  `EvaluateXPathConstraint` or `HasXPathConstraint` (only the NUnit
  3.x versions) pass but the assertion failes because the constraint
  itself was wrapped in a `Not` constraint.

* the NUnit 3.x `EvaluateXPathConstraint` failed to resolve the nested
  constraint, leading to erroneous messages if the assertion failed.
  Issue [#25](https://github.com/xmlunit/xmlunit.net/issues/25)

## XMLUnit.NET 2.5.1 - /Released 2017-10-20/

* elements that only differed in namespace prefix resulted in a false
  `ELEMENT_TAG_NAME` difference when compared.
  Issue [#22](https://github.com/xmlunit/xmlunit.net/issues/22)

## XMLUnit.NET 2.5.0 - /Released 2017-09-03/

* `CommentLessSource`, `DiffBuilder#IgnoreComments` and
  `CompareConstraint#IgnoreComments` now all use XSLT version 2.0
  stylesheets in order to strip comments. New constructors and methods
  have been added if you need a different version of XSLT (in
  particular if you need 1.0 which used to be the default up to
  XMLUnit 2.4.0).
  Issue similar to [xmlunit/#99](https://github.com/xmlunit/xmlunit/issues/99).

## XMLUnit.NET 2.4.0 - /Released 2017-07-23/

* made `DefaultComparisonFormatter` more subclass friendly.
  Issue similar to [xmlunit/#93](https://github.com/xmlunit/xmlunit/issues/93).

## XMLUnit.NET 2.3.1 - /Released 2017-03-23/

* provided xml doc files for the release version and inside the nuget<commit_msg>document XXE protection step<commit_after># Release Notes

## XMLUnit.NET 2.6.0 - /Not Released, yet/

* add a new experimental module xmlunit-placeholders which aims to
  use `${xmlunit.FOO}` expressions inside of the control document to
  allow for a DSL-like approach of defining more complex tests.
  This initial seed only supports `${xmlunit.ignore}` which can be
  used to make XMLUnit ignore the element containing this text.

* fixed the message when `CompareConstraint` or
  `ValidationConstraints` (both NUnit 2.x and 3.x) as well as
  `EvaluateXPathConstraint` or `HasXPathConstraint` (only the NUnit
  3.x versions) pass but the assertion failes because the constraint
  itself was wrapped in a `Not` constraint.

* the NUnit 3.x `EvaluateXPathConstraint` failed to resolve the nested
  constraint, leading to erroneous messages if the assertion failed.
  Issue [#25](https://github.com/xmlunit/xmlunit.net/issues/25)

* the `XmlDocument` instances used internally in `Convert` and
  `Transformation` now get their `XmlResolver` property set to `null`
  by default - which happens to be the default value of .NET 4.5.2 and
  later anyway. This is in accordance with the [OWASP recommendations
  for XML eXternal Entity injection
  preventions](https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Prevention_Cheat_Sheet#.NET).

  This may be a breaking change and you may need to provide an
  explicit `XmlResolver` instance of your own if you need to load
  external entities.

  Issue [#27](https://github.com/xmlunit/xmlunit.net/issues/27).

## XMLUnit.NET 2.5.1 - /Released 2017-10-20/

* elements that only differed in namespace prefix resulted in a false
  `ELEMENT_TAG_NAME` difference when compared.
  Issue [#22](https://github.com/xmlunit/xmlunit.net/issues/22)

## XMLUnit.NET 2.5.0 - /Released 2017-09-03/

* `CommentLessSource`, `DiffBuilder#IgnoreComments` and
  `CompareConstraint#IgnoreComments` now all use XSLT version 2.0
  stylesheets in order to strip comments. New constructors and methods
  have been added if you need a different version of XSLT (in
  particular if you need 1.0 which used to be the default up to
  XMLUnit 2.4.0).
  Issue similar to [xmlunit/#99](https://github.com/xmlunit/xmlunit/issues/99).

## XMLUnit.NET 2.4.0 - /Released 2017-07-23/

* made `DefaultComparisonFormatter` more subclass friendly.
  Issue similar to [xmlunit/#93](https://github.com/xmlunit/xmlunit/issues/93).

## XMLUnit.NET 2.3.1 - /Released 2017-03-23/

* provided xml doc files for the release version and inside the nuget
{'fraction_non_alphanumeric': 0.09198746642793196, 'fraction_numerical': 0.0346911369740376, 'mean_word_length': 4.095781071835804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 1, 'xml': 30}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2590852', 'n_tokens_mistral': 1434, 'n_tokens_neox': 1320, 'n_words': 512}