DOH!  That's pretty obvious.  Sorry for the bother.

Updated the transformer and it worked great:
<map:transformer name="xmldb"
src="org.apache.cocoon.transformation.XMLDBTransformer">
   <driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver>
   <base>xmldb:xindice:///db/addressbook</base>
</map:transformer>

Thanks!

On Mon, 2002-04-01 at 14:01, Vadim Gritsenko wrote:
> > From: Brandon Rich [mailto:[EMAIL PROTECTED]]
> > 
> > I'm new to Cocoon so I'm sure this cause by a basic configuration
> > problem.  However, I can't find it.
> > 
> > Transformer defined in sitemap:
> > <map:transformer logger="sitemap.transformer.xslt" name="xmldb"
> > src="org.apache.xindice.client.xmldb.DatabaseImpl">
> 
> This class - org.apache.xindice.client.xmldb.DatabaseImpl - is *NOT* a
> Cocoon transformer. As the value of the src attribute you must specify
> class implementing org.apache.cocoon.transformation.Transformer. The
> only XMLDB transformer I know is in the scratchpad of the Cocoon and
> class name is org.apache.cocoon.transformation.XMLDBTransformer
> 
> Vadim
> 
> >    <base>xmldb:xindice:///db/addressbook</base>
> > </map:transformer>
> > 
> > The pipeline:
> > <map:match pattern="add">
> >    <map:generate src="docs/add.xml"/>
> >    <map:transform type="xmldb"/>
> >    <map:serialize/>
> > </map:match>
> > 
> > Error message description:
> > org.apache.avalon.framework.configuration.ConfigurationException: Type
> > 'xmldb' is not defined for 'transform' at
> > file:/usr/java/jakarta-tomcat-4.0/webapps/cocoon/sitemap.xmap:517:34
> > 
> > Anyone run into this before?  Transformer definition is slightly
> > different than the example from Javadoc, but the component couldn't be
> > found when using it.  Any advice would be greatly appreciated.
> > 
> > Thanks!
> > 
> > --
> >  Brandon Rich <[EMAIL PROTECTED]>
> >  Trainix, Inc. - "Teaching Tomorrow, Today!"
> >  www.trainix.com
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
-- 
 Brandon Rich <[EMAIL PROTECTED]>
 Trainix, Inc. - "Teaching Tomorrow, Today!"
 www.trainix.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to