Minor changes to Jens' code
Solved the problem with the missing page table
Added error handling, some pages/page dictionaries were throwing nullpointer exceptions due to having no parent node, changed the insert bugfix from "test" to "    " since no working alternative has been found.
String length is not equal to number of bytes: just use append() instead of insert() with a byte offset
Switch to BouncyCastle 1.48
Preparing release 5.4.0
Setting SNAPSHOT version
Preparing iText 5.4.1
Setting SNAPSHOT version
isXML() never returned true, because PRStream.toString() doesn't return the content of the stream.
Removing unused imports.
Changed the POM file for RUPS to reflect new SNAPSHOT version iText
Fix: in some cases, pages were missing in the page tree. This was caused by the order in which the objects are processed; /Pages entries always need to be parsed first.
Preparing for release 5.4.2
Setting SNAPSHOT version RUPS
SNAPSHOT version RUPS
Problem with the page table wasn't fixed yet. We're now creating the page enumeration in a different way.
Revert changes applied in 5.4.2
The previous commit didn't revert the changes applied in 5.4.2; this one does.
One of the previous commits also replaced a deprecated way of reading a file. We now use a RandomAccessSource.