Bruno has posted 17 posts at DZone. You can read more from them at their website. View Full User Profile

iText 5.1.2 — XML Worker 1.1.0

  • submit to reddit

iText 5.1.2
In this release, we've added functionality that allows you to completely remove an optional content layer (OCG). However: iText 5.1.2 is mainly a maintenance release that fixes a series of bugs reported on this list since June 8: the algorithm to find startxref was made more memory efficient; the height of the Image wasn't taken into account when creating a PdfPCell with an Image (this is a bug that was introduced in iText 5.1.1); fixed a problem when an XFA stream didn't contain a datasets node; fixed a bug in the signature validation process; fixed a bug where iText introduced the namespace prefix "xmp" when "xap" was expected; and so on.

This release also allows us to release a new version of XML Worker:

XML Worker 1.1.0
In this release we've added support for more HTML tags and CSS attributes, but the main difference is a change in the architecture. If you were using previous versions of XML Worker, you'll need to make some changes to your own code after upgrading to XML Worker 1.1.0. The change in the architecture was necessary to fix some threading problems. Working with byte[] instead of String also turned out not to be a good idea.

For more info please visit the changelogs on
We hope you'll enjoy the new functionality and we wish you a smooth upgrade.

best regards,
the iText team

Published at DZone with permission of its author, Bruno Lowagie.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)