cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunsberger, Peter" <Peter.Hunsber...@STJUDE.ORG>
Subject Unable to find component for hint
Date Mon, 09 Aug 2004 16:47:13 GMT
In attempting to work around the problem I'm having with Cocoon blowing
up on my validation flow I tried to implement a wrapper class around 


My wrapper is just a simple class that inherits from XSLTProcessor,
calls it and catches any exceptions instead of throwing the exception
(it may eventually return a result giving the error if I can get this
working).  The problem is that I can't seem to get it invoked instead of
the regular XSLTprocessor.  In my cocoon.xconf I have:

   <component logger="core.xslt-processor"
     <parameter name="use-store" value="true"/>
     <parameter name="transformer-factory"

Then in my sitemap I have:

            <map:transformer name="xslt-wrappedSaxon7" pool-grow="2"
pool-max="32" pool-min="8"

I went as far as adding my wrapper class to the jar that contains the
base XSLTProcessor but no matter what I do Cocoon gives:

org.apache.cocoon.ProcessingException: Lookup of transformer
'xslt-wrappedSaxon7' failed at file:/zzzz/sitemap.xmap:769:100:
org.apache.avalon.framework.component.ComponentException: transformers:
ComponentSelector could not access the Component for hint
[xslt-wrappedSaxon7] (key [xslt-wrappedSaxon7])

Anyone know what I'm missing?

Peter Hunsberger

View raw message