On Friday, March 1, 2002, at 12:29 AM, <[EMAIL PROTECTED]> wrote:


Hi Kimbro,

I have been distracted from Xindice xupdate for the past week, but I came back to it yesterday, and it looks like the problem has something to do with jdk1.4. When I start Xindice with jdk1.4, I get the error trace. When I start it with 1.3.1, even if I am running the test case with 1.4, there is no error.


Yeah, I think JDK 1.4 includes a different version of Xalan that is causing the problem. I was looking into this a little last week, but I'm not sure of the details. Unfortunately, there is no 1.4 JDK for Mac OS X yet which makes it a little difficult for me to track down. You might try using the 1.4 VM API override mechanism and replace Xalan to help isolate the problem.


These are the results with 1.4:

Added test document <root><one><two>nothing</two><three>something</three>
</one></root>
Got query service XUpdateQueryService, 1.0 //result of service.getName() and getVersion()
Executing update <xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate";><xu:update select="/root/one/two[
.='nothing']">something</xu:update></xu:modifications>
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(Unknown Source)
at org.apache.xindice.client.corba.db._CollectionStub.queryCollection
(Unknown Source)
at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(
Unknown Source)
at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update
(Unknown Source)
at com.swisscom.lea.rte.data.xindice.XindiceUtils.update(XindiceUtils.java:106)


I guess this is not a major problem for now, but it might be one more incentive to get rid of the the corba layer...

Best wishes,

John


Swisscom IT Services AG mailto:[EMAIL PROTECTED] eLearning Solutions John Prince, IT-EBS-BKC-LEA Application Architect phone +41 31 342 6177 Postfach mobile +41 79 752 1237 CH-3050 Bern fax +41 31 342 9889


Kimbro Staken - http://www.kstaken.org - http://www.xmldatabases.org
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
Senior Technologist (Your company name here)



Reply via email to