You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Patrick Hess <po...@pbone.biz> on 2003/08/19 01:34:25 UTC
problem: cocoon 2.1 + xindice 1.1b2 (cvs)
Hi all,
I started using cocoon 2.1 a few days ago and tried to get it working
with xindice 1.1b2 build from CVS (and xindice 1.0 before) as webapps on
tomcat 4.1.12 on Win2k using JDK 1.4.1_2. In xindice I have several news
articles saved but whenever I retrieve them via cocoon the CDATA
sections are missing - which is pretty bad in my case because most of
the article body in this way... :( I see the same problem with xindice
1.0 and retrieving the articles with the cmd line tools works fine.
Using the web base (ugly) debug via xindic webapp I also see the CDATA
section so my guess is a wrong configuration of the cocoon side.
cocoon.xconf: I'm using the xmldb pseudo protocol out of the box:
<component-instance
class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory"
name="xmldb">
<driver class="org.apache.xindice.client.xmldb.DatabaseImpl"
type="xindice"/>
</component-instance>
sitemap.xmap: Results are fine except for the missing CDATA:
<map:match pattern="xmldb/**">
<map:generate src="xmldb:xindice://localhost:8080/db/{1}"/>
<map:serialize type="xml"/>
</map:match>
So what am I doing wrong? :)
Thanks,
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org