title: XSLT Transformation IBM JDK 1.7
body: <p>I am struggling with an error:</p>
  
  <blockquote>
    <p>XL TXE-J exception while compiling: [ERR 0601] The expression
    'xsl:with-param classname=class com.ibm.xtq.ast.nodes.WithParam' is
    not supported. [ERR 0601] The expression 'xsl:with-param
    classname=class com.ibm.xtq.ast.nodes.WithParam' is not supported.</p>
  </blockquote>
  
  <p>We are migrating from IBM JDK 1.5 to 1.7. I have debugged further, IBM JDK 1.5 TransformerFactory  use <code>org.apache.xalan.processor.TransformerFactoryImpl</code> implementation , however 1.7 TransformerFactory use IBM own impl class. i.e: <code>com.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpl</code></p>
  
  <p>Is the new Implementation does not supports with-param ?</p>
  
  <p>Below is the full stack trace:</p>
  
  <blockquote>
    <p>XL TXE-J exception while compiling: [ERR 0601] The expression
    'xsl:with-param classname=class com.ibm.xtq.ast.nodes.WithParam' is
    not supported. [ERR 0601] The expression 'xsl:with-param
    classname=class com.ibm.xtq.ast.nodes.WithParam' is not supported.    at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodeRaw(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileChoose(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodeRaw(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileVariable(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileDirElemConstructor(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodeRaw(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileDirElemConstructor(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodeRaw(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileDirElemConstructor(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodeRaw(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileDirElemConstructor(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodeRaw(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.RTFTranslator.compileNodes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.XSLTTranslator.compileTemplateIntoFunction(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.XSLTTranslator.compileTemplate(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.Mode.compileNamedTemplate(Unknown Source)
      at com.ibm.xtq.xslt.translator.Mode.compileTemplates(Unknown Source)
      at com.ibm.xtq.xslt.translator.Mode.compileApplyTemplates(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.StylesheetHelper.compileModes(Unknown
    Source)   at
    com.ibm.xtq.xslt.translator.v1.XSLTTranslator.visitTree(Unknown
    Source)   at com.ibm.xtq.xslt.drivers.XSLTCompiler.translate(Unknown
    Source)   at com.ibm.xtq.xslt.drivers.XSLTCompiler.compile(Unknown
    Source)   at
    com.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpl.createTemplates(Unknown
    Source)   at
    com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTransformer(Unknown
    Source)   at
    com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTransformerHandler(Unknown
    Source)   at
    org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.addStylesheet(JAXPSAXProcessorInvoker.java:137)
      at
    org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.addStylesheet(JAXPSAXProcessorInvoker.java:128)
      at
    org.eclipse.wst.xsl.jaxp.debug.invoker.PipelineDefinition.addStyleSheet(PipelineDefinition.java:161)
      at
    org.eclipse.wst.xsl.jaxp.debug.invoker.PipelineDefinition.configure(PipelineDefinition.java:152)
      at
    org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:72)
    05:51:08,236 ERROR [main] JAXPSAXProcessorInvoker  - [ERR 0601] The
    expression 'xsl:with-param classname=class
    com.ibm.xtq.ast.nodes.WithParam' is not supported.</p>
  </blockquote>
  
  <p>Regards,
  Kishor</p>