hi john,

here's the xupdate string:

         String xupdate = "<xu:modifications version=\"1.0\"" +
            "      xmlns:xu=\"http://www.xmldb.org/xupdate\";>" +
            "   <xu:remove select=\"/person/[EMAIL PROTECTED] = 'home']\"/>" +
            "   <xu:update select=\"/person/[EMAIL PROTECTED] = 'work']\">" +
            "       480-300-3003" +
            "   </xu:update>" +
            "</xu:modifications>";

it's the same as in the example source. BTW, the other examples are working
fine.

thanks,
-nani

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 3:09 PM
To: [EMAIL PROTECTED]
Subject: RE: XUpdate Example Problem


Hi Nani,

Could you post your xupdate string? I only had this exception when switching
to 1.4. I assume that other calls to Xindice are working ok.

John

> -----Original Message-----
> From: Jayaram Narayana [mailto:[EMAIL PROTECTED]
> Sent: jeudi, 21. mars 2002 10:37
> To: [EMAIL PROTECTED]
> Subject: RE: XUpdate Example Problem
>
>
> thanks john, for your answer, but i am NOT using jdk1.4. i am using
> JDK1.3.1.
>
> so what should i do now?
>
> thanks,
> -nani
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 21, 2002 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: RE: XUpdate Example Problem
>
>
> Hi,
>
> You are running jdk1.4, right? You need to put xerces/xalan into
> <jre-home>/lib/endorsed and restart.
>
> John
>
> > -----Original Message-----
> > From: Jayaram Narayana [mailto:[EMAIL PROTECTED]
> > Sent: jeudi, 21. mars 2002 09:50
> > To: [EMAIL PROTECTED]
> > Subject: FW: XUpdate Example Problem
> >
> >
> > hi,
> >
> > i get the following error trying to run the example XUpdate program:
> >
> > org.apache.xindice.client.corba.db.APIException:
> > IDL:org/apache/xindice/client/corba/db/APIException:1.0
> >         at
> > org.apache.xindice.client.corba.db.APIExceptionHelper.read(Unk
> > nown Source)
> >         at
> > org.apache.xindice.client.corba.db._CollectionStub.queryCollec
> > tion(Unknown
> > Source)
> >         at
> > org.apache.xindice.client.xmldb.services.XUpdateQueryServiceIm
> > pl.updateResul
> > t(Unknown Source)
> >         at
> > org.apache.xindice.client.xmldb.services.XUpdateQueryServiceIm
> > pl.update(Unkn
> > own Source)
> >         at org.apache.xindice.examples.XUpdate.main(Unknown Source)
> > XML:DB Exception occured 1 Query Processing Error
> >
> >
> > i wonder if this is because the www.xmldb.org site is down.
> > how do i rectify
> > this problem? any information will be greatly appreciated.
> >
> > thanks,
> > -nani
> >
> >
>
>

Reply via email to