You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Srinivasa Manthena <sm...@yahoo.com> on 2001/06/27 22:04:09 UTC

Roadmap for XSLTC

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/

Re: Roadmap for XSLTC

Posted by Tom Amiro <To...@Sun.COM>.
You are using a very old preview version of XSTLC with the
old "com.sun.xslt" packaging.

You'll need to download a more recent version of XSLTC
since its donation to Apache. You can get the
user distribution from

    xml.apache.org/xalan

Or, even better, since this is on the developer alias, you can
download the latest build.

Tom


Re: Roadmap for XSLTC

Posted by Srinivasa Manthena <sm...@yahoo.com>.
I downloaded the XSLTC from sun website. Is there any
other site which supports <xsl:import, etc?

I really appreciate your help in this regard.

Thank you.

--- Srinivasa Manthena <sm...@yahoo.com> wrote:
> 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 <To...@Sun.COM> 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/


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: Roadmap for XSLTC

Posted by Morten Jorgensen <mo...@sun.com>.
Please keep monitoring the xalan-dev mailing list for the next
couple of weeks. We already have a fix for this bug (the bug
surfaces when large stylesheets are compiled into large classfiles),
but we need a bit of time to review the fix and integrate it into
our CVS tree.

Morten Jorgensen


Srinivasa Manthena wrote:
> 
> Thank you for your help. The version I downloaded from
> xalan, worked for import, sort etc.
> Howerver, when I try compiling another file, it thrown
> an exception as below:
> Environment:
> OperatingSystem: Windows-NT
> .xsl file-size : 38kb
> File-contents  : regular XSLT and I don't see any
> special. When I tried the same kind of syntaxes in
> other files, it worked. (I apologize for not being
> able to attach the file, since it was kind of
> production-environment file that I was trying)
> 
> Exception:
> de.fub.bytecode.generic.ClassGenException: Branch
> target offset too large for short
>         at
> de.fub.bytecode.generic.BranchInstruction.dump(BranchInstruction.java:45)
>         at
> de.fub.bytecode.generic.InstructionList.getByteCode(InstructionList.java:925)
>         at
> de.fub.bytecode.generic.MethodGen.getMethod(MethodGen.java:530)
>         at
> org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:723)
>         at
> org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:399)
>         at
> org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:501)
>         at
> org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:211)
>         at
> org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:252)
>         at
> org.apache.xalan.xsltc.compiler.XSLTC.main(XSLTC.java:620)
> 
> May I know when would this error usually get thrown?
> 
> Thank you so much.
> 
> Srinvasa
> 
> --- Srinivasa Manthena <sm...@yahoo.com> wrote:
> > 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 <To...@Sun.COM> 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/
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

-- 
 
Morten Jørgensen

E-mail: morten.jorgensen@ireland.sun.com
Phone:	+353 1 819 9071 / x-19071
--8<-----------------------------------------------------------
C'est l'histoire d'un mec qui tombe d'un immeuble de cinquante 
étages. A chaque étage, a fur et à mesure de sa chute, il se répète 
sans cesse pour se rassurer:
        Jusqu'ici tout va bien,
        jusqu'ici tout va bien,
        jusqu'ici tout va bien...
Mais l'important, c'est pas la chute, c'est l'atterrissage.

Re: Roadmap for XSLTC

Posted by Srinivasa Manthena <sm...@yahoo.com>.
Thank you for your help. The version I downloaded from
xalan, worked for import, sort etc.
Howerver, when I try compiling another file, it thrown
an exception as below:
Environment:
OperatingSystem: Windows-NT
.xsl file-size : 38kb
File-contents  : regular XSLT and I don't see any
special. When I tried the same kind of syntaxes in
other files, it worked. (I apologize for not being
able to attach the file, since it was kind of
production-environment file that I was trying)

Exception:
de.fub.bytecode.generic.ClassGenException: Branch
target offset too large for short
        at
de.fub.bytecode.generic.BranchInstruction.dump(BranchInstruction.java:45)
        at
de.fub.bytecode.generic.InstructionList.getByteCode(InstructionList.java:925)
        at
de.fub.bytecode.generic.MethodGen.getMethod(MethodGen.java:530)
        at
org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:723)
        at
org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:399)
        at
org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:501)
        at
org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:211)
        at
org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:252)
        at
org.apache.xalan.xsltc.compiler.XSLTC.main(XSLTC.java:620)


May I know when would this error usually get thrown?

Thank you so much.

Srinvasa



--- Srinivasa Manthena <sm...@yahoo.com> wrote:
> 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 <To...@Sun.COM> 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/


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: Roadmap for XSLTC

Posted by Srinivasa Manthena <sm...@yahoo.com>.
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 <To...@Sun.COM> 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/

Re: Roadmap for XSLTC

Posted by Tom Amiro <To...@Sun.COM>.
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/