This new pre-release introduces two backwards incompatible changes
over 2.0.0-alpha-03:
the mapping of DifferenceEngine#setNamespaceContext
has been inverted from prefix -> URI to URI -> prefix in order
to be consistent with the same concept in XPathEngine.
the SchemaURI propetty of Validator has been removed in XMLUnit.NET
and pushed to ParsingValidator in XMLUnit for Java.
Additional changes:
CommentLessSource uses an XSLT stylesheet internally which lacked
the required version attribute in XMLUNit for Java. PR #47 by @phbenisc.
Comparison now also contains the XPath of the parent of the
compared nodes or attributes which is most useful in cases of
missing nodes/attributes because the XPath on one side is null in
these cases.
Issue #48
implemented via PR #50
by @eguib.
This is still an alpha release as the API may well change based on your
feedback. Please provide feedback about the API in case it needs to get
adapted before the final release on the xmlunit-general list or via
GitHub issues.
This new pre-release introduces two backwards incompatible changes
over 2.0.0-alpha-03:
DifferenceEngine#setNamespaceContexthas been inverted from prefix -> URI to URI -> prefix in order
to be consistent with the same concept in
XPathEngine.SchemaURIpropetty ofValidatorhas been removed in XMLUnit.NETand pushed to
ParsingValidatorin XMLUnit for Java.Additional changes:
CommentLessSourceuses an XSLT stylesheet internally which lackedthe required
versionattribute in XMLUNit for Java. PR#47 by
@phbenisc.
Comparisonnow also contains the XPath of the parent of thecompared nodes or attributes which is most useful in cases of
missing nodes/attributes because the XPath on one side is
nullinthese cases.
Issue #48
implemented via PR #50
by @eguib.
This is still an alpha release as the API may well change based on your
feedback. Please provide feedback about the API in case it needs to get
adapted before the final release on the
xmlunit-generallist or viaGitHub issues.
XMLUnit 2.0.0-alpha-04 is available as GitHub release via
https://github.com/xmlunit/xmlunit/releases/tag/v2.0.0-alpha-04/ and
https://github.com/xmlunit/xmlunit.net/releases/tag/v2.0.0-alpha-04/
respectively.
XMLUnit for Java is also available via Maven Central.
with additional artifacts xmlunit-matchers and xmlunit-legacy.
XMLUnit.NET is also available as nuget packages
https://www.nuget.org/packages/XMLUnit.Core,
https://www.nuget.org/packages/XMLUnit.NUnit2.Constraints/ and
https://www.nuget.org/packages/XMLUnit.NUnit3.Constraints/ .