[Yanel-development] PDF Resource finished - Libraries issues

Paloma Gomez paloma.gomez at wyona.com
Fri Dec 15 13:58:47 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?

Yes, it was up to date, although it used newer versions of some libs that
had to be added to maven repo (I added a comment to bugzilla asking about
this yesterday). However, I have tried it using the current versions and
it has worked (I don't understand why it didn't yesterday), so I will
attach a new patch to the bugzilla. I think there is only one missing lib,
so I'll attach it as well. I can also add it to the repo if you want.

Regards,
Paloma

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