It doesn't work.
I don't use the newest version because I need a standalone db. If I correctly
understood, with the version 1.1b4 I need a servlet server...
Selon Todd Byrne <byrne@xxxxxxxxxxxxxxx>:
> 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@xxxxxxxxxxxxxx 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>";
> >
>
--
|