Thanks to ZT for providing the answer. The error is thrown as the xindice.bat file is creating the command line environment variable. Simply commenting out the loop and passing the param list to Java does the trick. I enclose my modified bat file.
Julian -----Original Message----- From: Zhitao Wang [mailto:[EMAIL PROTECTED] Sent: Saturday, May 04, 2002 11:01 AM To: [email protected] Subject: RE: Query Syntax and Error I had exactly the same problem with WinXP. However, If I moved on Unix, NO problem at all. I doublt if this is the WinXP cmd problem. By the way, anybody know how to run Xindice on winXP as a service or in the background? Thanks ZT -----Original Message----- From: Julian Ray [mailto:[EMAIL PROTECTED] Sent: 2002��5��4�� 6:59 To: [email protected] Subject: Query Syntax and Error Using Sun Java 1.3.1 on Windows XP I started Xindice and added the two address XML files from the distribution into a collection /db/addressbook Querying the collection using xindice xpath -c /db/addressbook -q /person or xindice xpath -c /db/addressbook -q /person/fname works fine and as expected. However if I try to select from the collection using xindice xpath -c /db/addressbook -q /person[fname='John'] or xindice xpath -c /db/addressbook -q /person[fname="John"] I get nothing returned. After searching the mail list I tried to use the quoted form xindice xpath -c /db/addressbook -q "/person[fname='John']" and get ='John']""=="" was unexpected at this time Any help is greatly appreciated. Thanks Julian
<<attachment: xindice.bat>>
