[
https://issues.apache.org/jira/browse/FOP-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yakir Goaron updated FOP-3059:
------------------------------
Description:
When using FOP with SAX factory on open JDK 11 there is an error when calling
the transform from java code.
The following error shows :
Class org.apache.fop.fo.FOTreeBuilder does not implement the requested
interface org.xml.sax.ContentHandler
Although the FOTreeBuilder implement the interface it seems that due too the
java version it is incompatible.
For now I have tried with FOP 2.4 and FOP 2.6 .
Another update even without using SAX but just using Xalan and FOP 2.4 I am
getting the same error of :
Line #169; Column #172; java.lang.IncompatibleClassChangeError: Class
org.apache.fop.fo.FOTreeBuilder does not implement the requested interface
org.xml.sax.ContentHandler
In the line in my xsl I invoke some java code that was customize by me with the
jar file on the same location when I call the FOP
was:
When using FOP with SAX factory on open JDK 11 there is an error when calling
the transform from java code.
The following error shows :
Class org.apache.fop.fo.FOTreeBuilder does not implement the requested
interface org.xml.sax.ContentHandler
Although the FOTreeBuilder implement the interface it seems that due too the
java version it is incompatible.
For now I have tried with FOP 2.4 and FOP 2.6 .
> Open JDK 11 with FOP fail on transform to PDF
> ---------------------------------------------
>
> Key: FOP-3059
> URL: https://issues.apache.org/jira/browse/FOP-3059
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.4, 2.6
> Reporter: Yakir Goaron
> Priority: Critical
>
> When using FOP with SAX factory on open JDK 11 there is an error when calling
> the transform from java code.
> The following error shows :
> Class org.apache.fop.fo.FOTreeBuilder does not implement the requested
> interface org.xml.sax.ContentHandler
> Although the FOTreeBuilder implement the interface it seems that due too the
> java version it is incompatible.
> For now I have tried with FOP 2.4 and FOP 2.6 .
>
> Another update even without using SAX but just using Xalan and FOP 2.4 I am
> getting the same error of :
> Line #169; Column #172; java.lang.IncompatibleClassChangeError: Class
> org.apache.fop.fo.FOTreeBuilder does not implement the requested interface
> org.xml.sax.ContentHandler
> In the line in my xsl I invoke some java code that was customize by me with
> the jar file on the same location when I call the FOP
--
This message was sent by Atlassian Jira
(v8.20.1#820001)