Thanks JC I think it is time I should move Xindice from 1.0 to 1.1.
Xiao -----Original Message----- From: JC Tchitchiama [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 08:47 To: [email protected] Subject: Re: Fail to recompile xindice1.0 in Red Hat 7.3 Xiao, There isn't such issue in the version 1.1; Just make the following changes class:- XPathQueryResolver.java line:- 502 int endFunc = pos + cmp.getOp(pos+1) - 1; On Thursday 04 Dec 2003 2:20 pm, Wang, XD (Xiao) wrote: > Hi there > > I downloaded xml-xindice-1.0.zip and unzip it. I built it in SuSE system, > it succeed. If I built it in Red Hat 7.3 system. Two errors happened, even > nothing changed to source code. My Java version is 1.4.2. > > The error messages are: > > [javac]/home/xiw/temp/xml-xindice-1.0/java/src/org/apache/xindice/core/quer >y /XPathQueryResolver.java:502: array required, but > org.apache.xpath.compiler.OpMapVector found > [javac] int endFunc = pos + cmp.getOpMap()[pos+1] - 1; > [javac] ^ > [javac]/home/xiw/temp/xml-xindice-1.0/java/src/org/apache/xindice/core/quer >y /XPathQueryResolver.java:502: operator - cannot be applied to > java.lang.String, int > [javac] int endFunc = pos + cmp.getOpMap()[pos+1] - 1; > [javac] ^ > > > So it is highly appreciated to any idea of sorting it out in Red Hat 7.3 > system. > > > Thanks in advance > > Xiao -- Best Regards. JC. \\- - -// ( @ @ ) ===oOOo-(_)-oOOo================================================= [EMAIL PROTECTED] =================================================================
