Here is the info:
(1) When I included <xsl:import>, it said:
Sorry, 'xsl:import' is not yet implemented.
(2) When I tried compiling another .xsl file (of size
111,900 bytes) by specifying -Xmx64m, then it
displayed:
Exception in thread "main"
de.fub.bytecode.generic.ClassGenException: Invalid br
anch target position offset for goto[167](3):-1: -1:
nop[0](1)
at
de.fub.bytecode.generic.BranchInstruction.getTargetOffset(BranchInstr
uction.java:62)
at
de.fub.bytecode.generic.BranchInstruction.getTargetOffset(BranchInstr
uction.java:71)
at
de.fub.bytecode.generic.BranchInstruction.toString(BranchInstruction.
java:114)
at
de.fub.bytecode.generic.BranchInstruction.toString(BranchInstruction.
java:110)
at
de.fub.bytecode.generic.InstructionHandle.toString(InstructionHandle.
java:175)
at
de.fub.bytecode.generic.InstructionList.toString(InstructionList.java
:966)
at
de.fub.bytecode.generic.InstructionList.toString(InstructionList.java
:955)
at
com.sun.xslt.compiler.Mode.compileApplyTemplates(Mode.java:440)
at
com.sun.xslt.compiler.Stylesheet.compileModes(Stylesheet.java:138)
at
com.sun.xslt.compiler.Stylesheet.translate(Stylesheet.java:205)
at
com.sun.xslt.compiler.Parser.process(Parser.java:124)
at
com.sun.xslt.compiler.Parser.main(Parser.java:435)
Please help.
Thank you.
--- Tom Amiro <[EMAIL PROTECTED]> wrote:
> I'm sure others will fill in what I miss.
>
> There is a description of XSLTC's conformance to
> XSLT 1.0 and the know problems at
>
>
> http://xml.apache.org/xalan-j/readme.html#xsltcconf
>
> I've been testing XSLTC. Items 1 and 2 may not work
> perfectly, but they are not totally missing. Most of
> the
> tests on sorting and import/inlcude pass. You may be
> running into a specific bug. We'll need more
> information.
>
> How big is big? Have you set the maximum heap size
> for the JVM with the -Xmx option. For example,
> -Xmx64m would set it to 64MB. If you attempt to
> process an XML doc bigger than 5MB, you may need
> to increase the default, which is 16MB. I think the
> biggest
> XML document we have processed was about 11MB.
>
> Tom
>
> Srinivasa Manthena wrote:
>
> > Hi,
> >
> > We found that there are some missing functions in
> XSLT
> > Compiler that was donated from Sun. Can any one
> let us
> > know what your plans for support XSLTC in the
> future
> > about what things will be added, enhanced, fixed,
> etc?
> >
> > Things we found missing so far are:
> > (1) xsl:import, xsl:include
> > (2) xsl:sort
> > (3) Some exception when trying to compile a big
> .xsl
> > file.
> >
> > Any help would be really appreciated, since we
> need to
> > take a decision now wether to go for XSLTC or
> > something else?
> >
> > Thank you.
> >
> > -Raju
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/