xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michele\.mordenti\@libero\.it" <michele.morde...@libero.it>
Subject Re: Xupdate not work! Please help me!
Date Wed, 25 Apr 2007 22:22:17 GMT
Thank you Vadim.
I had done like you tell me. The error now (always at command line) is:

trying to register database
org.xmldb.api.base.XMLDBException: org.apache.xmlrpc.XmlRpcException: Error Compiling XUpdate
Query
        at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:119)
        at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:515)
        at org.apache.xindice.client.xmldb.services.QueryService.queryResource(QueryService.java:70)
        at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResource(XUpdateQueryServiceImpl.java:89)
        at PartsXupdate.main(PartsXupdate.java:28)
XML:DB Exception occurred 1

Sigh! I want use xindice!!!!!
And now?
Thank for help!
Bye



---------- Initial Header -----------

>From      : "Vadim Gritsenko" vadim@reverycodes.com
To          : xindice-users@xml.apache.org
Cc          : 
Date      : Wed, 25 Apr 2007 15:55:15 -0400
Subject : Re: Xupdate not work! Please help me!







> michele.mordenti@libero.it wrote:
> > and the new error, always from command line is:
> > 
> > trying to register database
> > org.xmldb.api.base.XMLDBException: org.apache.xmlrpc.XmlRpcException: Error Compiling
XUpdateQuery
> ...
> > Another idea?
> > 
> >>>          String xupd = "<xupdate:modifications version=\"1.0\"" +
> >>>             "xmlns:xupdate=http://www.xmldb.org/xupdate>" +
> 
> Michele,
> 
> Attribute values in XML must be in single or double quotes. So above line should be:
> 
>               "xmlns:xupdate='http://www.xmldb.org/xupdate'>" +
> 
> Vadim
> 
> >>>             "<xupdate:insert-after select=\"/scheda/info/id[value='1']\">"
+
> >>>             "<xupdate:element name=\"commento\">Bel libro!</xupdate:element>"
+
> >>>             "</xupdate:insert-after>" +
> >>>             "</xupdate:modifications>";
> 
> 


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-modeĀ™ di Wind
http://i-mode.wind.it/



Mime
View raw message