Re: org.apache.xindice.client.corba.db.APIException
Todd Byrne <[email protected]>
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] 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>"; >