[Yanel-development] PDF Resource finished - Libraries issues

Paloma Gomez paloma.gomez at wyona.com
Wed Dec 13 13:12:06 CET 2006


Hi all,

Finally I have got the Pdf Resource working. However, there are some
issues regarding libraries that I would like to know your opinion before
submitting a patch.

The current stable release of Apache FOP is 0.20.5 and requires the
following libraries:

avalon-framework-4.1.2.jar
batik-1.5.jar
xalan-2.4.1.jar
xercesImpl-2.2.1.jar
xml-apis-1.0.b2.jar

I talked to Josias yesterday and he told me there might be problems with
the libraries versions since we are using newer versions of some
libraries:

xalan-2.7.0.jar
xercesImpl-2.7.1.jar
xml-apis-1.3.02.jar

He suggested trying to use the newer ones and see if it worked. Well, it
didn't (I got an empty InputStream). Due to this I decided to switch to a
newer version of FOP, and I have made a simple example work. I have chosen
a beta release (0.92b) which uses the same libraries we are currently
using within Yanel. Specifically, it requires the following libraries:

avalon-framework-4.2.0.jar
batik-all-1.6.jar
apache-jakarta-commons-io-1.1.jar
apache-jakarta-commons-logging-1.0.4.jar
serializer-2.7.0.jar
xalan-2.7.0.jar
xercesImpl-2.7.1.jar
xml-apis-1.3.02.jar
xmlgraphics-commons-1.0.jar

I would like to know if it is fine to add a newer version of avalon
framework (we are using 1.5) and if it is fine using this beta release
(because it still contains bugs).

On the other hand, I have been unable to make Michi's xml and xsl sample
work (See bugzilla). I get fatal errors during the transformation.I am not
sure if it might be due to errors in the xsl or to bugs in the fop
release.

Maybe the error message I get may help to discard errors in the xsl:

[code]
ERROR org.apache.fop.fo.FOTreeBuilder.fatalError():228  -
javax.xml.transform.TransformerException: java.lang.IllegalStateException:
subsequences exhausted in page-sequence-master 'all', cannot recover
[/code]

Thanks,
Paloma







More information about the Yanel-development mailing list