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 2003/04/17 18:26:49 UTC

DO NOT REPLY [Bug 19115] New: - Extension namespace http://xml.apache.org/xalan doesn't work

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

Extension namespace http://xml.apache.org/xalan doesn't work

           Summary: Extension namespace http://xml.apache.org/xalan doesn't
                    work
           Product: XalanJ2
           Version: 2.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan-CmdLine
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: bohuslavroztocil@email.cz


Trying to run extensions example "2-basicJscript.xsl" I've got this response:

file:///C:/Program%20Files/xalan-j_2_5_0/samples/extensions/2-basicJscript.xsl;
Line 33; Column 42; javax.xml.transform.TransformerException:
java.lang.ClassNotFoundException: ext2

(Location of error unknown)XSLT Error
(javax.xml.transform.TransformerException): java.lang.NoSuchMethodException: For
extension function, could not find method
java.lang.String.getdate([ExpressionContext,] ).

After changing declaration of the extension namespace from
xmlns:xalan="http://xml.apache.org/xalan" into
xmlns:xalan="http://xml.apache.org/xslt" the example works fine.

Documentation (http://xml.apache.org/xalan-j/extensions.html)states that the
"xslt"-ending form is being supported just for backward compatibility. But it's
the only form working.