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=7721>.
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=7721

xsltc not finding external java functions when classname has multiple dots

           Summary: xsltc not finding external java functions when classname
                    has multiple dots
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<xsl:stylesheet
        version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns:java="http://xml.apache.org/xslt/java";>

<xsl:value-of select="java:java.lang.Math.sin(1.2)"/>

Compiler error(s): 
  Cannot find class 'java'.
  Cannot find external method 'lang.Math.sin' (must be static and public).

This came from the style_inlined.xsl stylesheet that Svante Schubert 
sent. Santiago alread came up with a fix in  ...compiler/FunctionCall.java.
I'm just putting in this bug to make sure we commit the fix.

Reply via email to