XalanJ2
  1. XalanJ2
  2. XALANJ-1549

XSLT Error (javax.xml.transform.TransformerConfigurationException): Could not load the translet class

    Details

      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

      1. Big.xsl
        100 kB
        Palanisamy Gounder
      2. TestXSLTC.java
        2 kB
        Palanisamy Gounder
      3. input.xml
        9 kB
        Palanisamy Gounder

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Palanisamy Gounder
          • Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development