Steve,
> I got xsltc working with 2.0.3 (thanks Vadim...), and even wrote a short
> how-to on it: http://outerthought.net/wiki/Wiki.jsp?page=XSLTC. On my
> app I get about a 2x speedup over Xalan.
I followed you instructions (I think :)) but I get
FATAL (/esit/data/summary.rdf) CocoonServlet: The Cocoon engine said it
failed to process the request for an unknown reason.
Which isn't all that helpful.
cocoon.xconf snippit
<!-- XSLT Processor:
For Xalan: Turn 'incremental-processing' to true if you want a
continous output (if set to false the transformer
delivers SAX events after all transformations has been done). -->
<xslt-processor
class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
logger="core.xslt-processor">
<parameter name="use-store" value="true"/>
<parameter name="incremental-processing" value="true"/>
</xslt-processor>
<xslt-processor
class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
role="org.apache.cocoon.components.xslt.XSLTProcessor/XSLTC"
logger="core.xslt-processor">
<parameter name="use-store" value="true"/>
<parameter name="transformer-factory"
value="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"/>
</xslt-processor>
sitemap snippit.
<map:transformers default="xslt">
<map:transformer name="xslt"
src="org.apache.cocoon.transformation.TraxTransformer" pool-grow="2"
pool-max="32" pool-min="8" logger="components">
<use-request-parameters>false</use-request-parameters>
<use-browser-capabilities-db>false</use-browser-capabilities-db>
<use-deli>false</use-deli>
</map:transformer>
<map:transformer name="xsltc" logger="components"
src="org.apache.cocoon.transformation.TraxTransformer" pool-max="32"
pool-min="16" pool-grow="4">
<use-request-parameters>false</use-request-parameters>
<use-browser-capabilities-db>false</use-browser-capabilities-db>
<xslt-processor-role>org.apache.cocoon.components.xslt.XSLTProcessor/XSLTC</xslt-processor-role>
</map:transformer>
</map:transformers>
How does this compare to yours?
-k.
--
If you don't test then your code is only a collection of bugs which
apparently behave like a working program.
Website: http://www.rocketred.com.au/blogs/kevin/
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>