A first shot at platform compatibility fixes
Implemented the #3 solution from my previous post, on the local machine. In the process, I discovered an oddity in flowscript: if you have a string variable in flowscript (in this case mine is created from a Java String object), it doesn't seem to have a .length property, but it does seem to have a .length() method. Annoying and confusing.
I now have PDF generation with images working locally, and backups working (they also depend on the realpath value).
This was done by making changes to these files:
save_transformations.flowsitemap.xmaputilities.xslpdf_general.xsl
I should be able to migrate those changes to the main server without endangering much else, for testing; I'll try that on Monday. Once that's out of the way, and if it's confirmed to be working, then the whole site is portable again and I can go back to working on the corpus PDF code, which is quite complicated.