FS#45004 - [fop] 1.1-2 does not support java-batik 1.8-1
Attached to Project:
Community Packages
Opened by Scott Mcleod (OldDragon2A) - Monday, 18 May 2015, 16:57 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 12 April 2023, 22:49 GMT
Opened by Scott Mcleod (OldDragon2A) - Monday, 18 May 2015, 16:57 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 12 April 2023, 22:49 GMT
|
Details
Description:
There have been changes made in Batik 1.8 that are not compatible with FOP 1.1. This only effects the ability to render SVG as far as I can tell. The /usr/share/java/batik/batik-all.jar listed in the fop.conf classpath has changed to batik-all-1.8.jar. This causes an "Error while initializing the Batik SVG extenstions". Fixing that issue will lead to "java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SVGDOMImplementation" which is no longer in that namespace in Batik 1.8. From what I have read, it is recommended to use the version of Batik included with FOP. Using java-batik 1.7-12 also works as expected. Additional info: * fop 1.1-2 * java-batik 1.8-1 * java-batik 1.7-12 Steps to reproduce: Try to render the embedding.fo or external.fo from the FOP distribution in examples/fo/svg/. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 12 April 2023, 22:49 GMT
Reason for closing: Fixed
Wednesday, 12 April 2023, 22:49 GMT
Reason for closing: Fixed
/usr/share/java/batik/batik-all.jar -> batik-all-1.8.jar
I can now build gpsbabel which previously failed due to this issue.
Can you confirm whether it works for you as well?
No effect of the "java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SVGDOMImplementation" issue. Have you tried the embedded.fo from the SVG examples?