I am using Xindice on Windows.  When I use a command like the following from the shell:

 

Xindice.bat xpath –c /db/addressbook –q /person/phone

 

...it works fine, but if I include a predicate with an equals sign like:

 

Xindice.bat xpath –c /db/addressbook –q /person/[EMAIL PROTECTED] = “home”]

 

...I get “org.xmldb.api.base.XMLDBException: :Error Compiling XPath _expression_”.

 

When I look at the output on the Xindice server (ie. Running in Tomcat) I see:

 

INFO: [Thread-8] '/db/addressbook' Query collection, query /person/[EMAIL PROTECTED] "work"]

 

...the equals sign gets left out!  I’ve tried escaping the equals sign, to know avail.  Can anyone help?

 

Thanks,

Greg Sandell

Reply via email to