cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EXT / TRANSICIEL MASSOUD Bertrand <ext.transiciel.mass...@sncf.fr>
Subject RE: XMLDBTransformer updates problem!
Date Thu, 24 Jun 2004 09:40:10 GMT
Alright

Two days for finding solution at this problem. Happy that someone else need
it!! ;o)

Bertrand.

-----Message d'origine-----
De : Rui Alberto L." Gonçalves [mailto:rui-l-goncalves@ptinovacao.pt]
Envoyé : jeudi 24 juin 2004 11:36
À : users@cocoon.apache.org
Objet : RE: XMLDBTransformer updates problem!


Thanks Bertrand,
that was it... it's working now....

merci..

Rui

On Thu, 2004-06-24 at 08:33, EXT / TRANSICIEL MASSOUD Bertrand wrote:
> It may cause by the xalan and xerces versions.
> 
> You may update xalan, xerces and xml-apis libs in directory
> tomcat/common/endorsed with the last versions used by xupdate.
> 
> 
> Bertrand Massoud.
> 
> -----Message d'origine-----
> De : Rui Alberto L." Gonçalves [mailto:rui-l-goncalves@ptinovacao.pt]
> Envoyé : mercredi 23 juin 2004 16:59
> À : users@cocoon.apache.org
> Objet : XMLDBTransformer updates problem!
> 
> 
> Hi,
> sorry if this is a simple question, but I'm starting
> using this...
> 
> What I'm trying to do is update a document in the xml
> database using XMLDBTransformer. The document that is passed 
> to the transformer
> is:
> 
> <x:query type="update" collection="users/" 
>          oid="myresource" xmlns:x="http://apache.org/cocoon/xmldb/1.0">
>     <xu:modifications version="1.0"
>                       xmlns:xu="http://www.xmldb.org/xupdate">
>       <xu:append select="/user[@login='sa']" >
>         <xu:attribute name="blocked">true</xu:attribute>
>       </xu:append>
>     </xu:modifications>
> </x:query>
> 
> The transformer always returns:
> 
> <x:query oid="myresource" type="update" result="failure">Failed to
> update resource somedata: 1</x:query>
> 
> Trying to perform  different updates results in the same error!
> I'm sending in attach the exception stack trace.
> 
> Thanks for any help... I can't figure out what's wrong!!
> 
> Rui
-- 
Rui Alberto L. Gonçalves <rui-l-goncalves@ptinovacao.pt>
PT Inovação


---------------------------------------------------------------------
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


Mime
View raw message