You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by javascript <ja...@tin.it> on 2004/12/28 00:39:26 UTC
Problems with Xindice
I'm using Xindice embedded in Cocoon 2.1.6.
When I use this code:
<x:query type="update" collection="cms" oid="samples.xml"
xmlns:x="http://apache.org/cocoon/xmldb/1.0">
<xu:modifications version="1.0"
xmlns:xu="http://www.xmldb.org/xupdate">
<xu:update select="/page/content/para[@id = '2']">Row
modified.</xu:update>
</xu:modifications>
</x:query>
I receive the messagge:
1 entries updated
but the database is not modified and in /page/content/para[@id = '2']
the string is not changed.
I tried a lot of solutions but never is changed.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Problems with Xindice
Posted by oliver charlet <ol...@form4.de>.
I also had problems with xindice XUpdate. Got no answer from this list,
but saw in the mailing list archives, that quite a lot had more or less
the same problem.
one suggestion was to switch to the latest xalan and xerces version, but
for me it did not change anything. I even used the patch provided in
bugzilla, but that did not change anything either.
So there are two things you can do.
1. write your own transformer or other component for updates in xindice or
2. use eXist, which is also an open source XML native DB. It is well
documented and WORKs (!).
It has a nice cocoon integration and I had no problems with XUpdate
whatsoever.
So I really recommend using 2.) and switch to eXist.
here's a link: http://exist-db.org/
happy new year!
:olli
javascript schrieb:
> I'm using Xindice embedded in Cocoon 2.1.6.
>
> When I use this code:
>
> <x:query type="update" collection="cms" oid="samples.xml"
> xmlns:x="http://apache.org/cocoon/xmldb/1.0">
> <xu:modifications version="1.0"
> xmlns:xu="http://www.xmldb.org/xupdate">
> <xu:update select="/page/content/para[@id = '2']">Row
> modified.</xu:update>
> </xu:modifications>
> </x:query>
>
> I receive the messagge:
>
> 1 entries updated
>
> but the database is not modified and in /page/content/para[@id = '2']
> the string is not changed.
>
> I tried a lot of solutions but never is changed.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org