Hi All, What exactly is meant by 'You have to match namespaces and everything up'?
I'm having a problem utilising XUpdate too. I'm using the below xupdate <xupdate:modifications version="1.0" xmlns:xupdate=http://www.xmldb.org/xupdate> <xupdate:update select="/learnerinformation/identification/contentype/referential[indexid = '211653']"> testupdateofsourceid </xupdate:update> </xupdate:modifications> on a single document in the collection <learnerinformation> <comment>A basic example of creating a LIP record.</comment> <identification> <contentype> <referential> <indexid>211653</indexid> </referential> </contentype> </identification> </learnerinformation> When I call the update method of the XUpdateQueryService I get the error below. XML:DB Exception occurred Error Code : 1 Message : Query Style Not Found Trace: XUpdateQueryServiceImpl.java : org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl : updateResult : 170 : XUpdateQueryServiceImpl.java : org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl : update : 185 : I'm running on a FreeBSD 4.8 with JDK1.4.1 and xindice 1.0 Please help. I'm new to java, and although I know the basics of XML as markup and some idea of what namespace are and how they are used, I seem to be clueless in this case as the only namespace I see is 'xupdate:'. James ----- Original Message ----- From: "Mark J. Stang" <[EMAIL PROTECTED]> To: <xindice-users@xml.apache.org> Sent: Friday, July 18, 2003 3:33 PM Subject: Re: XUpdateQueryService work around > I have XUpdate working just fine. I think there is something wrong with your > XML doc. Check out Kimbro's web page > http://www.xmldatabases.org/projects/XUpdate-UseCases/ > > You have to match the namespaces and everything up... > > HTH, > > Mark > > Julie McCabe wrote: > > > Hello, > > > > Has anybody got xupdate:modifications working with XUpdateQueryService? is > > there a known list of problems as I cant get it working for a number of > > collections. The work around I've had to do is query for the resource, get > > the content, modify it using Java (substring etc) then remove the resource > > from the database and create a new resource with the modified content. > > > > I would prefer to use XUpdateQueryService for simplicity and scalabilty but > > its falling over on a 641 error - as mentioned in a previous mail to the > > list. My config is Java 1.4.1 and Xindice 1.1b1. > > > > Thanks > > Julie > > -- > Mark J Stang > System Architect > Cybershop Systems > >