On Jun 30, 2007, at 11:05 PM, Henry Zongaro wrote:
Hello.
mvyas <[EMAIL PROTECTED]> wrote on 2007-06-30 06:24:54 AM:
> ERROR: 'Branch target offset too large for short'
> FATAL ERROR: 'Could not compile stylesheet'
>
> com.sun.org.apache.bcel.internal.generic.ClassGenException:
Branch target
> offset too large for short
> at
> com.sun.org.apache.bcel.internal.generic.BranchInstruction.
> dump(BranchInstruction.java:99)
This was a known bug in XSLTC, that has been fixed for most cases.
See Jira issue 1324 [1] for more information.
Of course, the traceback indicates that you're using the version of
XSLTC that Sun packages with its JDK, so you'll have to contact
them about getting an update of the JDK that includes this (or an
equivalent) fix.
The fix for this patch hasn't been integrated in Sun's JDK
workspace yet. Your best bet is to download Xalan from Apache and put
it in your classpath.
Hope this helps.
-- Santiago