[Yanel-development] PDF Resource finished - Libraries issues

Josias Thöny josias.thoeny at wyona.com
Wed Dec 13 13:55:48 CET 2006


Hi Paloma,

I just had a look at the libraries included with cocoon 2.1.x.
They include fop-0.20.5.jar together with the following libraries:

xalan-2.7.0.jar
xercesImpl-2.9.0.jar
xmp-apis-1.3.04.jar
batik-all-1.6.jar
avalon-framework-api-4.3.jar
avalon-framework-impl-4.3.jar

Maybe we could try this combination also?
WDYT?

josias


On Wed, 2006-12-13 at 13:12 +0100, Paloma Gomez wrote:
> 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
> 
> 
> 
> 
> 
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
> 




More information about the Yanel-development mailing list