Details
-
Bug
-
Status: Reopened
-
Blocker
-
Resolution: Unresolved
-
2.5Dx
-
None
-
Operating System: All
Platform: All
-
20470
Description
I am using XSLTC with TraX API. When my XSL size grows bigger, I get an error
as below while getting new Transformer from the Templates.
-----------------------------------------------------------------------------
javax.xml.transform.TransformerConfigurationException: Could not load the
translet class 'Big'.
at org.apache.xalan.xsltc.trax.TemplatesImpl.defineTransletClasses
(TemplatesImpl.java:311)
at org.apache.xalan.xsltc.trax.TemplatesImpl.getTransletInstance
(TemplatesImpl.java:329)
at org.apache.xalan.xsltc.trax.TemplatesImpl.newTransformer
(TemplatesImpl.java:366)
at prj_translet.JAXPTransletMultipleTransformations.doTransform
(JAXPTransletMultipleTransformations.java:28)
at prj_translet.JAXPTransletMultipleTransformations.main
(JAXPTransletMultipleTransformations.java:79)
---------------------------------------------------------------------------
I could reproduce this problem with "org.apache.xalan.xslt.Process -XSLTC".
java -Xss100m -Xms128m -Xmx256m -
Xbootclasspath/p:.;xalan.jar;xercesImpl.jar;xml-apis.jar;
org.apache.xalan.xslt.Process -XSLTC -in todo.xml -xsl Big.txt -out
OutForBig.html
The XSL that I am using can be found here
http://www.geocities.com/ial7158/Big.txt
The java program that I used can be found here:
http://www.geocities.com/ial7158/JAXPTransletMultipleTransformations.java
With Regards
Palanisamy
Palanisamy_Gounder@stercomm.com