When I call this pipeline:
<map:match pattern="expose/neu.html">
<map:generate
src="xmldb:xindice://localhost:4080/db/ximmo/kruck/exposes/meta#."/>
<map:serialize type="xml"/>
</map:match>
I get "java.io.FileNotFoundException: /C:/Programme/Apache
Group/resin/xmldb:xindice:/localhost:4080/db/ximmo/kruck/exposes/meta#."
I added the following lines from
http://www.cocooncenter.de/cc/documents/resources/xindice/index.html:
<source-handler logger="core.source-handler">
<!-- xmldb pseudo protocol -->
<protocol name="xmldb"
class="org.apache.cocoon.components.source.XMLDBSourceFactory">
<!-- Xindice driver -->
<driver type="xindice"
class="org.apache.xindice.client.xmldb.DatabaseImpl"/>
<!-- Add here other XML:DB compliant databases drivers -->
</protocol>
</source-handler>
and used the latest cvs snapshot...
What's wrong?
BTW, why does <component-instance
class="org.apache.cocoon.components.source.XMLDBSourceFactory"
name="xmldb"/> in <source-factories> throw a class cast exception?
JOERN
---------------------------------------------------------------------
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]>