xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Byrne <by...@cns.montana.edu>
Subject Re: org.apache.xindice.client.corba.db.APIException
Date Fri, 27 May 2005 15:56:58 GMT
So right off the bat it looks like you have squashed two attributes 
togther.

Try that it worked for me. Also make sure your using the newest 1.1b4.

Todd

lapeyrade@linux.efrei.fr wrote:
> Hi!!
> 
> I'm a beginner with Xindice 1.0 (I need a standalone db) and Xupdate. I
> implemented a Java program and I get this exception when perform my request:
> org.apache.xindice.client.corba.db.APIException:
> IDL:org/apache/xindice/client/corba/db/APIException:1.0
> 
> Is it my query?
> 
> my Xupdate query is following, can you have a look on it?
> 
                                                     > <need a space here
> String xupdate = "<xu:modifications version=\"1.0\" " +


> 		 "xmlns:xu=\"http://www.xmldb.org/xupdate\">" +
> 		 "<xu:append select=\"/images\" >" +
> 	 	 "<xu:element name=\"image\">" +
> 		 "<xu:attribute name=\"path\"> "+path+" </xu:attribute>" +
> 			"<context>h</context>" +
> 			"<people>f</people>" +
> 			"<place>montain</place>" +
> 			"<properties>" +
> 			        "<author>joe</author>" +
> 				"<quality>best</quality>" +
> 			"</properties>" +
> 			"</xu:element>" +     
> 		"</xu:append>" +
> 		"</xu:modifications>";
> 

Mime
View raw message