add a new ElementSelectors.byNameAndAllAttributes variant that filters attributes before deciding whether elements can be compared.
Inspired by Issue #259
By default the TransformerFactorys created will now try to disable extension functions. If you need extension functions for your transformations you may want to pass in your own instance of TransformerFactory and TransformerFactoryConfigurer may help with that.
Inspired by Issue #264
JAXPXPathEngine will now try to disable the execution of extension functions by default but uses XPathFactory#setProperty which is not available prior to Java 18. You may want to enable secure processing on an XPathFactory instance you pass to JAXPXPathEngine instead - and XPathFactoryConfigurer may help with that.
XMLUnit for Java 2.9.1
fixed some AssertJ tests that didn't work on Windows.
Issue #252 and PR #253 by @Boiarshinov
added overloads to ElementSelectors.byXPath that accept a XPathEngine argument.
Issue #255
added Cyclone DX SBOMs to release artifacts
XMLUnit for Java 2.9.0
The major change of XMLUnit for Java 2.9.0 is the addition of a new module xmlunit-jakarta-jaxb-impl that can be used in addition to xmlunit-core when you want to use the Jakarta XML Binding API in version 3. For details please see the user's guide.
The full list of changes of XMLUnit for Java 2.9.0 is:
added a new module xmlunit-jakarta-jaxb-impl that makes Input.fromJaxb use jakarta.xml.bind rather than javax.xml.bind. For more details see the User's Guide.
This change is not fully backwards compatible. The JaxbBuilder class has become abstract and the withMarshaller method has changed its signature. For most cases the change will not be noticed and for almost all other cases it should be enough to re-compile your code against XMLUnit 2.9.x.
added NodeFilters#satisfiesAll and satifiesAny methods to make it easier to combine multiple node filters. added to simplify the use case of #249
XMLUnit for Java 2.8.4 improves performance when comparing documents with many sibling elements.
Changelog:
improved comparison performance for documents with many siblings
based on a suggestion by @gerpres made in #236
XMLUnit for Java 2.8.3
added a new fullDescription method to Diff that provides a string-representation of all differences - not just the first one like toString does.
PR #235 fixing #232 by @Boiarshinov
made sure AssertJ's methods to override the assertion message like withFailMessage are honored.
#225
adjusted unit tests so they pass when AssertJ 3.19.0 is used.
PR #212 by mmathesius
add a new ElementSelectors.byNameAndAllAttributes variant that filters attributes before deciding whether elements can
be compared.
Inspired by Issue #259
By default the TransformerFactorys created will now try to disable extension functions. If you need extension
functions for your transformations you may want to pass in your own instance of TransformerFactory and
TransformerFactoryConfigurer may help with that.
Inspired by Issue #264
This is tracked as CVE-2024-31573.
JAXPXPathEngine will now try to disable the execution of extension functions by default but uses
XPathFactory#setProperty which is not available prior to Java 18. You may want to enable secure processing on an
XPathFactory instance you pass to JAXPXPathEngine instead - and XPathFactoryConfigurer may help with that.
XMLUnit for Java 2.9.1 - /Released 2023-01-10/
fixed some AssertJ tests that didn't work on Windows.
Issue #252 and PR
#253 by
@Boiarshinov
added overloads to ElementSelectors.byXPath that accept a XPathEngine
argument.
Issue #255
added Cyclone DX SBOMs to release artifacts
XMLUnit for Java 2.9.0 - /Released 2022-01-25/
added a new module xmlunit-jakarta-jaxb-impl that makes
Input.fromJaxb use jakarta.xml.bind rather than
javax.xml.bind. For more details see the User's
Guide.
This change is not fully backwards compatible. The JaxbBuilder
class has become abstract and the withMarshaller method has
changed its signature. For most cases the change will not be noticed
and for almost all other cases it should be enough to re-compile
your code against XMLUnit 2.9.x.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/googleads/googleads-java-lib/network/alerts).
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps org.xmlunit:xmlunit-core from 2.8.2 to 2.10.0.
Release notes
Sourced from org.xmlunit:xmlunit-core's releases.
Changelog
Sourced from org.xmlunit:xmlunit-core's changelog.
... (truncated)
Commits
33a5d6a
fix release numbereceec4a
javadocs75828fd
Create SECURITY.mddcaafe9
record extension function changes611f6be
try to disable extension functions for XPathsb81d48b
disable XSLT extension functions by default, add more configurersba14909
XMLUnit 1.x is no longer maintainedcd6731e
this is going to be a feature release, not a bugfix releasec47d390
record last changes5141915
add byNameAndAllAttributes that uses an attrbute filterYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show