xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Xupdate not work! Please help me!
Date Wed, 25 Apr 2007 19:55:15 GMT
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>";


Mime
View raw message