xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karol Hennessy <karol.henne...@physics.org>
Subject Re: Xindice 1.0
Date Sun, 14 Sep 2003 21:47:55 GMT

I've had problems with single quotes before.

Maybe try this instead :
xindice xpath -c /db/Scp -q "/Scp[Sc_La/La_ADD [City=\'Brit Col\']]"

Note the \' instead of just '

Solved some of my problems but maybe yours is more complex...

Karol.

On Sunday, Sep 14, 2003, at 15:47 US/Eastern, J Raf wrote:

> Hello,
>
> I have developed an application to search and retreive XML files from 
> XINDCIE. The java application works well under Windows XP, However 
> when I packaged and deployed the application to a Linux Red Had 
> environment, I get many buggs.
> The xpath contains function does not seem to work under Linux.
> Doing solething like the following produces many hits:
> xindice xpath -c /db/Scp -q "/Scp[Sc_La/La_ADD [City='MONCTON']]"
> However when using contains, nothing is returned.
> xindice xpath -c /db/Scp -q "/Scp[Sc_La/La_ADD 
> [contains(City,'MONCTON')]]"
>
> ON a windows platform the above 2 statements work well and return the 
> correct results.
>
> Also I have noticed that having spaces in the Criteria does not work 
> under Linux: I.e:
> xindice xpath -c /db/Scp -q "/Scp[Sc_La/La_ADD [City='Brit Col]]"
> Howver under windows the above works well.
>
> Has anybody experienced similar problems. Is there a fix, Do I have a 
> wrong version of any jar files?
> Your help is highly appreciated.
>
> Thank you,
> Jay
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
> http://join.msn.com/?page=features/junkmail
>
> ---
> [This E-mail scanned for viruses by Declude Virus for the IOP]
>
>


Mime
View raw message