This release makes CommentLessSource
and friends use
XSLT 2.0 under the covers and adds new methods to override the XSLT
version being used.
The full list of changes:
CommentLessSource
,DiffBuilder#ignoreComments
andCompareMatcher#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 #99.
path: /en/oss/XMLUnit | #
This release changes DefaultComparisonFormatter
in
order to simplify creating custom ComparisonFormatter
s.
The full list of changes:
- made
DefaultComparisonFormatter
more subclass friendly. Issue #93.
path: /en/oss/XMLUnit | #
path: /en/oss/XMLUnit | #
This release allows the schema used in W3C XML schema validation to
be specified as Schema
and XmlSchema
respectively when using the (JAXP)Validator
or the
corresponding matchers and constraints.
The full list of changes for XMLUnit for Java:
JAXPValidator
andValidationMatcher
now accept usingSchema
instances for the schema when validating instance documents. Issue #89.- updated test dependency to Mockito 2.1.0 PR #87 by @PascalSchumacher.
The full list of changes for XMLUnit.NET:
Validator
andSchemaValidConstraint
now accept usingXmlSchema
instances for the schema when validating instance documents. Issue similar to xmlunit#89.
path: /en/oss/XMLUnit | #
This version fixes a bug in DiffBuilder
that applies
to the withDocumentBuilderFactory
method introduced with
the 2.2.0 release:
- The
DocumentBuilderFactory
set onDiffBuilder
wasn't used properly whenignoreWhitespace
ornormalizeWhitespace
has been set. Issue #86.
There is no parallel release of XMLUnit.NET as the bug doesn't apply to it.
XMLUnit for Java 2.2.1 is available as GitHub release via https://github.com/xmlunit/xmlunit/releases/tag/v2.2.1/ and Maven Central.
path: /en/oss/XMLUnit | #