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/[EMAIL PROTECTED] = '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/[EMAIL PROTECTED] = '2'] the string is not changed.

I tried a lot of solutions but never is changed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to