You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Zsolt Suri (JIRA)" <ji...@apache.org> on 2014/02/19 13:45:21 UTC

[jira] [Commented] (FOP-2325) Applet error Unknown function: gatherContextInfo

    [ https://issues.apache.org/jira/browse/FOP-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905370#comment-13905370 ] 

Zsolt Suri commented on FOP-2325:
---------------------------------

I had similar/same issue:

ERROR:  'Unknown function: gatherContextInfo'
javax.xml.transform.TransformerException: java.lang.IllegalArgumentException: Unknown function: gatherContextInfo
	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)

In my case adding the provided xalan-2.7.0.jar in fop-1.1-bin.zip to the classpath has fixed this issue.
I guess it includes the unknown function while the built in implementation in JRE not.

> Applet error Unknown function: gatherContextInfo
> ------------------------------------------------
>
>                 Key: FOP-2325
>                 URL: https://issues.apache.org/jira/browse/FOP-2325
>             Project: Fop
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.1
>         Environment: Ubuntu 12.04 32bits
> Java 1.7.0_45-b18
>            Reporter: Gabriel Garcia Becker
>
> I'm trying to use FOP to generate a pdf file in a signed applet, but, i got these errors:
> Dez 10, 2013 2:09:45 PM org.apache.fop.fo.properties.PropertyCache <init>
> Informações: Unable to access org.apache.fop.fo.properties.use-cache due to security restriction; defaulting to 'true'.
> ERROR:  'Unknown function: gatherContextInfo'
> I tried the same code in a desktop application, and everything works fine, the problem is just in the applet.
> My applet is running with standard HTML, the applet and it's dependencies are signed with the same key. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)