Gerry, I did not mean to cause complaining, I was just going on this that I had read on a couple of sites.
I just want to find out why I get a query error when executing the code. I have checked it with different examples, and I still cannot get it to work with Xindice 1.0. XMLDBVERSION is set to be 1.0 If someone can help me, it would be much appreciated. Thanks Belinda ----- Original Message ----- From: "grenoml" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 22, 2003 2:39 PM Subject: Re: Xindice and XUpdate > Belinda, > I opened the original bug on Xupdate being broken in Xindice 1.1 and > did a lot of complaining about this. Just take a look at the bug. > This has since been fixed as of several weeks ago with the removal of > the dependency on infozone tools jar. If your Xupdate works in Xindice > 1.0 then it should also work in Xindice 1.1 CVS. Or you may have some > type of configuration issue in your environment. > > Gerry Reno > > > > --- belinda_browne <[EMAIL PROTECTED]> wrote: > > This is my string, and from everything that i have looked at, > > including > > the examples, I still get a query error. > > > > Please someone help. > > > > String xupdate = "<?xml version=\"" + XMLDBVERSION +"?>" + > > "<xu:modifications version=\"" + XMLDBVERSION + "\" " > > + > > "xmlns:xu=\"http://www.dbxml.org/xupdate> " + > > "<xu:append select=\"/projects\"> " + > > "<xu:element name=\"project\"> " + > > "<xu:attribute name=\"id\">" + projectID > > + "</xu:attribute>" + > > "<name>" + projectName + "</name>" + > > "<manager>" + projectManager + "</manager> " + > > "<startDate>" + aSimpleDateFormat.format(startDate) > > + "</startDate>" + > > "<endDate>" + aSimpleDateFormat.format(endDate) > > + "</endDate>" + > > "</xu:element>" + > > "</xu:append>" + > > "</xu:modifications>"; > > > > Thanks > > Belinda > > > > ----- Original Message ----- > > From: "Mark J. Stang" <[EMAIL PROTECTED]> > > Date: Wednesday, January 22, 2003 12:49 pm > > Subject: Re: Xindice and XUpdate > > > > > All of my tests worked with 1.0 of Xindice and they work with the > > cvs > > > version. > > > > > > Try these for syntax: > > > > > > http://www.xmldb.org/xupdate/xupdate-wd.html > > > http://www.xmldatabases.org/projects/XUpdate-UseCases/ > > > > > > > > > belinda_browne wrote: > > > > > > > Yeah I am running JVM 1.4 and Xindice 1.0. > > > > > > > > What Examples? Where can I find them to try them? > > > > > > > > Thanks > > > > Belinda > > > > > > > > > I guess she is having problems with JVM1.4, like me. > > > > > I've already tested my classes with all that stuff (- > > > > > Djava.endorsed.dirs) > > > > > and didn't make XUpdate work out. > > > > > I am working with Java 1.4.1 and Xindice 1.0. > > > > > Could you give some suggestion to have Xupdate working in my > > > > > application? > > > > > > > > ----- Original Message ----- > > > > From: "Mark J. Stang" <[EMAIL PROTECTED]> > > > > To: <[email protected]> > > > > Sent: Tuesday, January 21, 2003 11:37 AM > > > > Subject: Re: Xindice and XUpdate > > > > > > > > > Belinda, > > > > > Why do you think that XUpdate is broken? I have a set of test > > > > > cases that I ran recently and it appears that XUpdate is > > working. > > > > > I think XUpdate is the mechanism for making changes to a > > document. > > > > > However, I am sure that if you wanted to go down a layer or so > > > > > you could call the API directly. However, that API could > > > > > change over time, where as XUpdate should be stable. > > > > > > > > > > Kimbro put out a bunch of XUpdate samples and the last > > > > > time I checked they all worked. > > > > > > > > > > What have you tried or rather what do you want to do > > > > > that doesn't work. > > > > > > > > > > Mark > > > > > > > > > > belinda_browne wrote: > > > > > > > > > > > I have done some reading and it appears that there is a > > > problem with > > > > > > XUpdate working with Xindice. > > > > > > > > > > > > Can anyone please let me know if there is a problem, and > > > what can be > > > > > > done to fix it? > > > > > > > > > > > > Otherwise, is there any other way to be able to add data to > > > Xindice> > > other than using XUpdate? > > > > > > > > > > > > Thanks. > > > > > > > > > > > > Cheers > > > > > > Belinda > > > > > > > > > > > > > > > > -- > > > > > Mark J Stang > > > > > System Architect > > > > > Cybershop Systems > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Mark J Stang > > > System Architect > > > Cybershop Systems > > > > > > > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com >
