On Thu, 28 Feb 2002, Christian Zoffoli wrote:
> I'm very happy to see a XMLDBTrasformer in the scratchpad of Cocoon2!!!
>
> ... but I have some problems with the update ...it doesn't seem to work
> ...is it possible or it's my fault ?
>
> ---------------------
>
> the xupdate query
> ---------------------
> <?xml version="1.0"?>
>
> <page xmlns:xindice="http://apache.org/cocoon/xmldb/1.0";>
>
>    <xindice:query type="update" oid="users">
>       <xu:modifications version="1.0"
> xmlns:xu="http://www.xmldb.org/xupdate";>
>               <xu:update select="/users/user[@id =
> '2']/surname">paperino</xu:update>
>       </xu:modifications>
>    </xindice:query>
>
> </page>
>
> ---------------------
>
> the result
> ----------------
> <?xml version="1.0" encoding="UTF-8"?>
> <page xmlns:xindice="http://apache.org/cocoon/xmldb/1.0";>
>
> <xindice:query oid="users" type="update" result="failure">Failed to
> update resource users: 1</xindice:query>
>
> </page>

Yes ;-) I'm not the only one with this problem. Since two days I got
headaches more and more.

The problem is that this message isn't very useful.

In the cmdline everything works, and with xupdate :-|


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

Reply via email to