Hi -
I am testing Xindice 1.0 using jdk1.4 and have
problems with the XUpdateQueryService not working.
The errror message is:
DEBUG>
java.lang.ClassCastException:
org.apache.xml.dtm.ref.DTMNodeIterator
at
org.apache.xindice.core.xupdate.XObjectImpl.nodeset(XObjectImpl.java:105)
at
org.xmldb.xupdate.lexus.commands.CommandObject.selectNodes(CommandObject.java:139)
at
org.xmldb.xupdate.lexus.commands.UpdateCommand.execute(UpdateCommand.java:104)
at
org.apache.xindice.core.xupdate.XUpdateImpl.execute(XUpdateImpl.java:153)
at
org.apache.xindice.core.xupdate.XUpdateQueryResolver$XUpdateQuery.execute(XUpdateQueryResolver.java:163)
at
org.apache.xindice.core.xupdate.XUpdateQueryResolver.query(XUpdateQueryResolver.java:106)
at
org.apache.xindice.core.query.QueryEngine.query(QueryEngine.java:147)
at
org.apache.xindice.core.Collection.queryDocument(Collection.java:867)
at
org.apache.xindice.client.corba.CollectionServant.queryDocument(CollectionServant.java:451)
at
org.apache.xindice.client.corba.db.CollectionPOA._invoke(CollectionPOA.java:355)
at
org.openorb.adapter.poa.POA.dispatch(POA.java:975)
at
org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.java:750)
at
org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.java:1467)
at
org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.java:1410)
at
org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:77)
at
org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.java:1557)
The code works fine with jdk1.3. Has anyone run into this
before?
Also, what is the status of the XUpdate API and Xindice? Is it
time
to start eliminating uses of this API from my code?
Thanks,
Jane Riese
- Re: XUpdate and jdk1.4 Jane Riese
- Re: XUpdate and jdk1.4 Lars Martin
