Thanks for your answer. As my Cocoon installation thinks of a file path instead of a xmldb uri your solution does not work :(
I must be a nisconfiguration (or a typo)... -----Ursprüngliche Nachricht----- Von: Arjé Cahn [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 1. Mai 2002 22:00 An: [EMAIL PROTECTED] Betreff: RE: Problem with xmldb-pseudo-protocol Is this a collection you are calling? Then you should try meta/#. -----Oorspronkelijk bericht----- Van: Jörn Heid [mailto:[EMAIL PROTECTED]] Verzonden: 01 May 2002 20:14 Aan: [EMAIL PROTECTED] Onderwerp: Problem with xmldb-pseudo-protocol 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]> --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>