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


Reply via email to