This release fixes a couple of small bugs and adds new configuration features:
CACHE_ENABLED can be explicitly set false to disable all caching.
SAXPARSERFACTORY_CLASS and XMLREADER_SUPPLIER can configure the resolver to construct a new parser without relying on JAXP global defaults.
The XML Resolver Data jar now includes a resource that does not exist on the web: https://xmlresolver.org/data/resolver/succeeded/test/check.xml If this URI resolves successfully, you can be sure that the data jar is on the classpath and is being used.
Manifest improvements proposed by @aanno fix problems under Java 9+.
This release contains two new features, improved (or at least simplified) logging and support for JAXP 185.
I've bumped it to 4.0.0 because the logging changes are backwards incompatible. To get the old behavior, you must explicitly select the SystemLogger using the ResolverFeature.RESOLVER_LOGGER_CLASS.
This release fixes a bug (#72) where an IllegalArgumentException thrown by the java.net.URI class was not correctly caught.
I've also added a feature where, if, for example, you're working with the resolver at a lower level in your own API, you can configure it to throw those exceptions. This will save you from having to test for invalid URIs independently, if you care.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
Bumps xmlresolver from 2.1.1 to 4.2.0.
Release notes
Sourced from xmlresolver's releases.
... (truncated)
Commits
7272380
Merge pull request #93 from ndw/rel4203225e78
Bump version to 4.2.0d49edea
Upgrade to XML Resolver Data 1.1.0174a214
Merge pull request #92 from ndw/fix-spfaa9188a
Add SAXPARSERFACTORY_CLASS and XMLREADER_SUPPLIER featuresdab30d6
Merge pull request #90 from ndw/iss891ff3cf6
Add new tests for cache disabled6f6f75e
Fix the copy constructor905c240
Merge pull request #88 from ndw/cache-enabled2b2a5dd
Add an explicit cache-enabled propertyDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)