You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Bruno Verachten <Br...@laposte.net> on 2002/03/13 11:27:32 UTC

Using XSLTC in native mode: maybe a BUG in the compilation?

Hi,

I have compiled some test XSLT files with XSLTC, and from times to times,
inner classes are generated. It seems that there is a problem with the
inner class at runtime, because they can't be found. I used a package
for the stylesheets, and those without an inner class work perfectly...

If it ever was a BUG, how can I write my stylesheets not to get
an inner class?


$ java Execute sources.xml net.atos.mm.fwk.jcg.xsl.source.main
Could not transform XML document.java.lang.ClassNotFoundException: 
net/atos/mm/fwk/jcg.xsl.source.main$0

Note the strange package definition with '/' instead of '.'.

When I use a stylesheet that doesn't exist, the package has a '.' and 
not a '/'!

$ java Execute sources.xml net.atos.mm.fwk.jcg.xsl.sources.main
Could not find class file: net.atos.mm.fwk.jcg.xsl.sources.main.class .

Thanks.

Bruno Verachten.