beyanet.com wrote:
Hi,

I am now having a problem whereby xslt-saxon (saxon 8) cannot be found, but the jar files:


saxon8-jdom.jar

saxon8-sql.jar

saxon8.jar


are located in /web-inf/lib.


The full error line is:


cause: org.apache.avalon.framework.component.ComponentException: transformers: ComponentSelector could not find the component for hint [xslt-saxon] (key [xslt-saxon])



<map:transformer name="xslt-saxon" pool-grow="2" pool-max="32" pool-min="8" src="org.apache.cocoon.transformation.TraxTransformer"> <use-request-parameters>false</use-request-parameters> <use-browser-capabilities-db>false</use-browser-capabilities-db> <xslt-processor-role>saxon</xslt-processor-role> </map:transformer>


hi,
further investigation has revealed that the problem line is:

<xslt-processor-role>saxon</xslt-processor-role>

Can anyone tell me what this has changed to in 2.1.7?
Saxon transformer is commented out in cocoon.xconf because saxon itself is not shipped with cocoon.

<!--+
| Saxon XSLT Processor
| For old (6.5.2) Saxon use:
| <parameter name="transformer-factory" value="com.icl.saxon.TransformerFactoryImpl"/>
| For new (7+) Saxon use:
| <parameter name="transformer-factory" value="net.sf.saxon.TransformerFactoryImpl"/>
<component logger="core.xslt-processor"
role="org.apache.excalibur.xml.xslt.XSLTProcessor/saxon"
class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl">
<parameter name="use-store" value="true"/>
<parameter name="transformer-factory" value="com.icl.saxon.TransformerFactoryImpl"/>
</component>
+-->




--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to