<xsl:copy-of select="xalan:checkEnvironment()"/> cannot be used with XSLTC
--------------------------------------------------------------------------

         Key: XALANJ-2246
         URL: http://issues.apache.org/jira/browse/XALANJ-2246
     Project: XalanJ2
        Type: Bug
  Components: XSLTC  
    Versions: 2.7    
 Environment: nvironment:
      
        
          2.0fd
          C:\tomcat5.5\bin\bootstrap.jar
          1.1 or higher
          C:\Program Files\Java\jre1.5.0_05\lib\ext
          Xerces-J 2.7.1
          not-present
          Xalan Java 2.7.0
          not-present
          not-present
          1.5.0_05
          2.0
          not-present
          C:\Program Files\Java\jre1.5.0_05\lib\rt.jar;C:\Program 
Files\Java\jre1.5.0_05\lib\i18n.jar;C:\Program 
Files\Java\jre1.5.0_05\lib\sunrsasign.jar;C:\Program 
Files\Java\jre1.5.0_05\lib\jsse.jar;C:\Program 
Files\Java\jre1.5.0_05\lib\jce.jar;C:\Program 
Files\Java\jre1.5.0_05\lib\charsets.jar;C:\Program 
Files\Java\jre1.5.0_05\classes
          2.0
          Xalan Java 2.7.0
    Reporter: Tjerk Wolterink


When is use

<xsl:copy-of select="xalan:checkEnvironment()"/>

With XSLTC i get the following exception:

Cannot find external method 'org.apache.xalan.lib.Extensions.checkEnvironment' 
(must be public).
javax.xml.transform.TransformerException: Cannot find external method 
'org.apache.xalan.lib.Extensions.checkEnvironment' (must be public).
        at 
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.passErrorsToListener(TransformerFactoryImpl.java:656)
        at 
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:828)
        at 
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:613)
        at 
tjerk.xcm.filters.XslTransformFilter.transform(XslTransformFilter.java:131)
        at 
tjerk.xcm.filters.XslTransformFilter.doFilter(XslTransformFilter.java:115)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Unknown Source)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to