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 2001/10/05 17:32:24 UTC

DO NOT REPLY [Bug 3994] New: - xsltc should supprt same method for calling external Java functions as Xalan

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

xsltc should supprt same method for calling external Java functions as Xalan

           Summary: xsltc should supprt same method for calling external
                    Java functions as Xalan
           Product: XalanJ2
           Version: 2.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: tom.amiro@sun.com


Both Xalan and XSLTC support the calling of external java functions.
However, differences in the syntax for the xml namespace declaration
for the external java functions prevent you from being able to 
use the same stylesheet for both Xalan and XSLTC.

For Xalan, you declare the namespace as follows:

	xmlns:java="http://xml.apache.org/xslt/java

For XSLTC, you delcare the namespace as follows:

	xmlns:xsltc="http://xml.apache.org/xalan/xsltc/java

or as

	xmlns:someclass="http://xml.apache.org/xalan/xsltc/java/someclass