You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/25 16:47:44 UTC

DO NOT REPLY [Bug 11171] New: - XSLTC Compiling Stylesheets w/ Extensions

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11171>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11171

XSLTC Compiling Stylesheets w/ Extensions

           Summary: XSLTC Compiling Stylesheets w/ Extensions
           Product: XalanJ2
           Version: 2.4Dx
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: brent.johnson@colinx.com


According to your website, a stylesheet can be compiled to a translet even if 
it includes Extensions (see http://xml.apache.org/xalan-
j/xsltc_constraints.html under the "Calling external Java methods from a 
Translet").

When attempting to compile a stylesheet with an extension (even using your 
exact example), I get the following error:

java.lang.RuntimeException: External 
function 'http://xml.apache.org/xslt/Java:java.lang.System.currentTimeMillis' 
not supported by XSLTC.