Hello,
I have debugged and found some more information - this is a vendor error with
code 641! does anybody know what this means? See stack trace below.
Thanks
Julie
org.xmldb.api.base.XMLDBException: Query error
at
org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:259)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:629)
at
org.apache.xindice.client.xmldb.services.QueryService.queryResource(QueryService.java:109)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResource(XUpdateQueryServiceImpl.java:132)
at
uk.ac.qub.gridcast.workflow.client.WorkflowProcessor.main(WorkflowProcessor.java:56)
Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.Exception:
org.apache.xindice.core.query.CompilationException: Error Compiling XUpdate
Query
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:234)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:606)
... 3 more
[EMAIL PROTECTED]: java.lang.Exception:
org.apache.xindice.core.query.CompilationException: Error Compiling XUpdate
Query
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:234)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:606)
at
org.apache.xindice.client.xmldb.services.QueryService.queryResource(QueryService.java:109)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResource(XUpdateQueryServiceImpl.java:132)
at
uk.ac.qub.gridcast.workflow.client.WorkflowProcessor.main(WorkflowProcessor.java:56)
Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.Exception:
org.apache.xindice.core.query.CompilationException: Error Compiling XUpdate
Query
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:234)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:606)
at
org.apache.xindice.client.xmldb.services.QueryService.queryResource(QueryService.java:109)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResource(XUpdateQueryServiceImpl.java:132)
On Friday 18 July 2003 10:11, Julie McCabe wrote:
> Hello,
>
> I am new to xindice, I am trying to apply an update the database and
> received the following error.
>
> [EMAIL PROTECTED]: java.lang.Exception:
> org.apache.xindice.core.query.CompilationException: Error Compiling XUpdate
> Query
>
> I am using Java 1.4.1_02 and I applied the update as follows:
>
> String xferQuery = "<xupdate:modifications version=\"1.0\""
> + "xmlns:xupdate=\"http://www.xmldb.org/xupdate\">"
> + "<xupdate:update select=\"/spot/xfer/@transferred\">1"
> + "</xupdate:update></xupdate:modifications>";
>
> update_service = (XUpdateQueryService) col.getService(
> "XUpdateQueryService", "1.0");
> update_service.updateResource(key, xferQuery);
>
> I have searched the archive and found no answer, any ideas?
>
> Thanks
> Julie.
--
______________________________________________________
Julie McCabe Belfast eScience Centre
[EMAIL PROTECTED] Queens University Belfast
http://www.qub.ac.uk/escience/ BT7 1NN
______________________________________________________