cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: ComponentSelector could not find the component for hint [xslt-saxon] (key [xslt-saxon])
Date Fri, 15 Apr 2005 14:02:31 GMT
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                                      lgawron@mobilebox.pl
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message