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

Process command line cannot find translet for some xsl names

           Summary: Process command line cannot find translet for some xsl
                    names
           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]


I notice a problem from the Process command line's XSLTC support. When the xsl 
name contains non-Java identifier chars like match-1.xsl, the generated 
translet has a name of match_1.class. In this case the Process command line 
cannot find the translet because the default translet name is considered to be 
the same as the xsl base name. 

The fix is to add another call to Util.toJavaName().

Reply via email to