[Yanel-development] PDF Resource finished - Libraries issues

Michael Wechner michael.wechner at wyona.com
Fri Dec 15 11:02:50 CET 2006


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 am currently reviewing the PDF/FOP resource, but have problems with 
resolving the dependencies, e.g.

  xerces:xercesImpl:jar:2.9.0


Is the patch within Bugzille up-to-date?

Cheers

Michi

>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
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-development mailing list