http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2630 *** shadow/2630 Sat Jul 14 13:00:18 2001 --- shadow/2630.tmp.15713 Sat Jul 14 13:00:18 2001 *************** *** 0 **** --- 1,51 ---- + +============================================================================+ + | StringOutOfBoundsException while using xsltc | + +----------------------------------------------------------------------------+ + | Bug #: 2630 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: Sun | + | Severity: Normal OS/Version: Solaris | + | Priority: Other Component: org.apache.xalan.xsltc | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Here is the stacktrace. + + SdnLogger.debug(String): not + initialized. + java.lang.StringIndexOutOfBoundsException: String index out of range: + 0 + at java.lang.Throwable.fillInStackTrace(Native + Method) + at java.lang.Throwable.fillInStackTrace(Compiled + Code) + at java.lang.Throwable.<init>(Compiled + Code) + at java.lang.Exception.<init>(Compiled + Code) + at java.lang.RuntimeException.<init> + (RuntimeException.java:47) + at java.lang.IndexOutOfBoundsException.<init> + (IndexOutOfBoundsException.java:44) + at java.lang.StringIndexOutOfBoundsException.<init> + (StringIndexOutOfBoundsException.java:57) + at java.lang.String.charAt(Compiled + Code) + at org.apache.xalan.xsltc.compiler.util.Util.toJavaName(Compiled + Code) + at org.apache.xalan.xsltc.compiler.XSLTC.compile + (XSLTC.java:250) + at org.apache.xalan.xsltc.compiler.XSLTC.compile + (XSLTC.java:233) + at org.apache.xalan.xsltc.trax.TransletTemplates.newTransformer + (TransletTemplates.java:139) + + + Moreover, the documentation asks one to set the system property to + "org.apache.xalan.xsltc.runtime.TransformerFactoryImpl" but it has to + be "org.apache.xalan.xsltc.trax.TransformerFactoryImpl" !