Skip to content

Releases: css4j/xml-dtd

Release 4.3

22 Jun 13:11
v4.3
Compare
Choose a tag to compare

Highlights

As a last resort, the resolver now attempts to get a known System ID when the supplied System ID is unknown but the Public ID is known.


Detail of changes

  • resolver: attempt to get a known System ID when the supplied System ID is unknown but the Public ID is known.
  • Add scm section to Maven POM data.
  • Bump copyright year to 2024.
  • Upgrade to actions/setup-java v4.
  • Upgrade to JUnit 5.10.2.
  • Bump github/codeql-action from 2 to 3.
  • Upgrade Gradle wrapper to 8.5.
  • Actions: switch to gradle/actions/wrapper-validation.
  • A few modifications to README.
  • Default to Linux line endings for source files.

4.2.1

15 Sep 11:37
v4.2.1
Compare
Choose a tag to compare

This release is essentially the same as 4.2 and 4.1.1, except that it depends on Tokenproducer 3.0 and later.

Testing has shown that xml-dtd 4.2 works fine with Tokenproducer 3.0, but to avoid any potential annoyances I decided to recompile xml-dtd with Tokenproducer 3.0 and produce a new release, just for caution.


Detail of changes

  • Use advanced for loop in DefaultEntityResolver.
  • Use diamond operator.
  • Compile for --release 8.
  • Upgrade to tokenproducer 3.0.
  • Upgrade to JUnit 5.10.0.
  • Upgrade to actions/checkout@v4.
  • Upgrade Gradle wrapper to 8.3.
  • changes.sh: add a dot at the end of each item.

Version 4.2

17 Apr 13:14
v4.2
Compare
Choose a tag to compare

Highlights

This release is the exact same as 4.1.1, except that it depends on Tokenproducer 2.0.1.

Upgrade to Tokenproducer 2.0.1

Tokenproducer 2.0.1 introduces a new base interface but otherwise is the same as 1.2 (and is source-level compatible with it). Unfortunately the software compiled with 1.2 cannot figure out that the old TokenHandler interface inherits from the new TokenHandler2, so anything compiled with 1.x is incompatible at runtime with 2.x.

If you upgrade to css4j 4.0.1, make sure to upgrade to xml-dtd 4.2 as well.


Detail of changes

  • Bump copyright year to 2023.
  • Tests: convert the tests to JUnit 5.
  • Tests: add a jar bomb test.
  • Upgrade to TokenProducer 2.0.1
  • Upgrade Gradle wrapper to 8.1.

Version 4.1.1

12 Nov 17:23
v4.1.1
Compare
Choose a tag to compare

Highlights

XHTML 1.1 DTD cleanup

See issue #8.


Remove final modifiers from two DefaultEntityResolver methods

See issue #9.


Detail of changes

  • XHTML 1.1 DTD cleanup. See #8
  • Remove final modifiers from two DefaultEntityResolver methods (#9)
  • Gradle: use a different line conversion procedure to avoid Git glitches
  • Add a Developer Certificate of Origin and a CONTRIBUTING.md file
  • Create a legal NOTICE.txt file
  • README: modify javadocs link to point to modular API
  • README: add CI badge
  • Create dependabot.yml
  • Use carte-util 3.6.0

Version 4.1.0

19 Aug 15:59
v4.1.0
Compare
Choose a tag to compare

Highlights

Use the HTML5 entities as fallback if no subset is found in getExternalSubset

See issue #3.

Do not assume a specific SVG version for in getExternalSubset

See issue #5.

Support the DTD for SVG 1.0 in DefaultEntityResolver

See issue #6.

Detail of changes

  • Use the HTML5 entities as fallback if no subset is found in getExternalSubset (#3)
  • Do not assume a specific SVG version for in getExternalSubset (#5)
  • Support the DTD for SVG 1.0 in DefaultEntityResolver (#6)
  • ContentModel: more efficient use of collections.
  • Make inner class static in EntityFinder.
  • DefaultEntityResolver: formatting.
  • A few javadoc improvements.
  • Gradle: upgrade wrapper to 7.5.1.
  • Bump year to 2022 in copyright headers.

4.0.0

03 Dec 14:40
v4.0.0
Compare
Choose a tag to compare

Highlights

Removal of DefaultEntityResolver.resolveEntity(String)

See issue #1.

Use the Security Manager if available

See issue #2.

Detail of changes

  • Remove DefaultEntityResolver.resolveEntity(String). (#1)
  • Use the Security Manager only if available. (#2)
  • Gradle: copy licensing files to META-INF directory of archive files.
  • Gradle: line-ending conversion task now warns if file does not exists.
  • Gradle: upgrade wrapper to 7.3.
  • Upgrade to JUnit 4.13.2.
  • Add a 'changes.sh' script to generate a CHANGES.txt.
  • Use Markdown in Release Notes, move non-release information to README.
  • README: add a link to the resolver overview/introduction page.
  • CI: build with Java 11 and 17.

Version 3.5.2

12 Aug 14:36
v3.5.2
Compare
Choose a tag to compare

Release Highlights

Deprecate DefaultEntityResolver.resolveEntity(String) for removal

See issue #1.

Build improvements

The Gradle build is smaller and a bit faster.

If you are already using a recent version of this library, do not really need to upgrade.

css4j v3.4.0

28 Feb 16:28
css4j-3.4.0
Compare
Choose a tag to compare

Depend on jclf-text Maven artifact.

css4j v3.3.0

05 Jan 14:09
css4j-3.3.0
Compare
Choose a tag to compare

POM: depend on any tokenproducer version 1.x.

css4j v3.2.0

20 Dec 14:59
css4j-3.2.0
Compare
Choose a tag to compare

See the release info at the css4j-dist repository for details.