cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject XIndice, Was: XPath-enabled DirectoryGenerator
Date Sat, 12 Jan 2002 16:56:29 GMT
> From: Gianugo Rabellino []
> Vadim Gritsenko wrote:
> > Please, don't jump to conclusions: I run Cocoon as xindice client
> > xindice.jar and xmldb.jar: just 532968 bytes. If to include
> > xindice... Yes, thanks to openorb, it's 2.5M :(
> I'd really love to know how you managed to do it. There are
> portions of Corba code all over the place in the client libraries and
> the client-server communication itself AFAIK is based on Corba. If I
> to remove openorb all I get is a bunch of errors. Please enlighten me

Hm. My setup is:

1. cocoon/WEB-INF/lib:

2. cocoon/cocoon.xconf#cocoon/source-handler/protocol:
   <driver type="xindice"

3. cocoon/sitemap.xmap#map:sitemap/map:components/map:transformers:
   <map:transformer name="xmldb"

4. cocoon/sitemap.xmap#map:sitemap/map:pipelines/map:pipeline:
   <map:match pattern="data-to-xmldb">
     <map:generate src="data.xml"/>
     <map:transform src="data-to-xmldb.xsl"/>
     <map:transform type="xmldb"/>
     <map:serialize type="xml"/>
   <map:match pattern="xmldb/**">
     <map:match type="request" pattern="xpath">
       <map:generate src="xmldb:xindice:///db/{../1}#{1}"/>
       <map:serialize type="xml"/>
     <map:generate src="xmldb:xindice:///db/{1}"/>
     <map:serialize type="xml"/>

5. xindice/startup

6. resint/bin/httpd

7. http://localhost:8080/data-to-xmldb to bulk-load documents...

8. http://localhost:8080/xmldb/test/doc-id to access these documents...

Note: My environment does not have anything specific: stock
resin/tomcat, empty jre/lib/ext, and empty environment.

This should not work? Nobody told me client must have corba! ;)


To unsubscribe, e-mail:
For additional commands, email:

View raw message