Skip to content

Releases: xmlresolver/xmlresolver

6.0.0

30 Jan 15:10
6.0.0
4fbc304
Compare
Choose a tag to compare
XML Resolver 6.0.0 released

5.2.3

28 Jan 13:08
5.2.3
e76e9f0
Compare
Choose a tag to compare

This release fixes bug #156 where the resolver would throw an NPE if no class loader is available.

5.2.2

28 Sep 13:04
5.2.2
a455397
Compare
Choose a tag to compare
XML Resolver 5.2.2 released

5.2.1

22 Aug 10:13
5.2.1
6056528
Compare
Choose a tag to compare
XML Resolver 5.2.1 released

5.2.0

13 May 08:55
5.2.0
c59628a
Compare
Choose a tag to compare

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

07 May 09:41
5.1.3
65b0071
Compare
Choose a tag to compare

Fixes a small bug wherein same document references were not handled correctly if the ALWAYS_RESOLVE feature was true.

5.1.2

24 Mar 12:37
5.1.2
8f7efb8
Compare
Choose a tag to compare

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

03 Mar 12:48
5.1.1
0adc820
Compare
Choose a tag to compare

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

19 Feb 10:37
5.1.0
ab34830
Compare
Choose a tag to compare

The 5.1.0 release fixes a significant bug in the new ALWAYS_RESOLVE feature. See #133

5.0.0

13 Feb 17:20
5.0.0
604077a
Compare
Choose a tag to compare

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.