Releases: xmlresolver/xmlresolver
6.0.0
XML Resolver 6.0.0 released
5.2.3
5.2.2
XML Resolver 5.2.2 released
5.2.1
XML Resolver 5.2.1 released
5.2.0
Version 5.2.0 adds a new API for constructing a catalog directly from a stream of SAX events. This makes it possible to construct a catalog directly from a database, for example, or from a novel format.
5.1.3
Fixes a small bug wherein same document references were not handled correctly if the ALWAYS_RESOLVE
feature was true.
5.1.2
This release removes the (transitive) dependency on the xml-apis
jar file. There's also one new log message for tracking catalogs that are loaded.
5.1.1
Enforce ACCESS_* features when opening connections
The new ALWAYS_RESOLVE feature means that the resolver will sometimes access resources on behalf of the caller (ones that were not found in the catalog). That feature failed to take the ACCESS_EXTERNAL_DOCUMENT and ACCESS_EXTERNAL_ENTITY features into consideration.
5.1.0
5.0.0
The Java contract for the entity resolver is to return null if the entity isn't found. Unfortunately, redirects are common these days (for example, w3.org redirects all http: URIs to https: URIs) and parsers don't always follow redirects, so if the resolver returns null, the parse fails. That's...suboptimal.
This release adds a new feature ResolverFeature.ALWAYS_RESOLVE
that will resolve the resource (and follow redirects to do so) and always return it. This feature is true by default.
This release also extends the ResolverInputSource
to expose the response code (if applicable) and headers (if available) from the response.