Hello,

I am new to xindice, I am trying to apply an update the database and received 
the following error.

[EMAIL PROTECTED]: java.lang.Exception: 
org.apache.xindice.core.query.CompilationException: Error Compiling XUpdate 
Query

I am using Java 1.4.1_02 and I applied the update as follows:

 String xferQuery = "<xupdate:modifications version=\"1.0\""
                + "xmlns:xupdate=\"http://www.xmldb.org/xupdate\";>"
                + "<xupdate:update select=\"/spot/xfer/@transferred\">1"
                + "</xupdate:update></xupdate:modifications>";

update_service  = (XUpdateQueryService) col.getService(                         
                                                
"XUpdateQueryService", "1.0");
update_service.updateResource(key, xferQuery);

I have searched the archive and found no answer, any ideas?

Thanks
Julie.

Reply via email to