I also faced some problem while shifting from xindice-1.1b1 to xindice-1.1b2. Any suggestion in this regard will be of great help.
Avik ----- Original Message ----- From: Upayavira <[EMAIL PROTECTED]> Date: Thursday, December 18, 2003 1:14 am Subject: Re: What XPATH is available > Kevin O'Neill wrote: > > >On Tue, 2003-12-09 at 23:15, Upayavira wrote: > > > > > >>[EMAIL PROTECTED] wrote: > >> > >> > >> > >>>This depends on what search do you want. > >>> > >>>If you want to search "hello" string within music node then you > should use > >>>//music[contains(string(),'hello')] > >>> > >>>or if you want to search "hello" within the the document as > under : > >>> > >>><music> > >>><title>hello</title> > >>></music> > >>> > >>>then you may use //music/title[contains(string(),'hello')] > >>> > >>> > >>> > >>> > >>Avik, > >> > >>I've managed to get: > //music[filename[contains(string(),"athe")]] to > >>work from my unit tests, but with the same query run within > Cocoon I > >>still get: > >>java.lang.NoSuchMethodError: > org.apache.xpath.compiler.OpMap.getOpMap()[I>> > >>So there's something different between my two environments. Hmm. > Both > >>use the xindice-1.1b1.jar. Hmm. > >> > >> > > > >The latest versions of Xalan changed some of the xpath methods. > You must > >be using a new version of Xalan. > > > > > In fact, switching to Xindice from CVS, it works fine. It seems > that > Xindice has changed since 1.1b1. > > Thanks, > > Upayavira > > >-k. > > > > > > > >>Any ideas? > >> > >>Thanks for getting me this far. > >> > >>Regards, Upayavira > >> > >> > >> > >>>Avik > >>> > >>> > >>>----- Original Message ----- > >>>From: Upayavira <[EMAIL PROTECTED]> > >>>Date: Tuesday, December 9, 2003 2:28 pm > >>>Subject: What XPATH is available > >>> > >>> > >>> > >>> > >>> > >>>>I am trying the following XPath: > >>>> > >>>>//music[contains(title, 'hello')] > >>>> > >>>>which gives me an error: > >>>>java.lang.NoSuchMethodError: > >>>>org.apache.xpath.compiler.OpMap.getOpMap()[I > >>>>This suggests that this XPath expression is not supported by > >>>>XIndice. > >>>>Can someone tell me what XPath I do have access to? Is it just > the > >>>>//music[title = 'hello'] kind? If so, this is rather > limited/limiting.>>>> > >>>>Thanks, > >>>> > >>>>Upayavira > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > >> > > > > > > > > > > >
