jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eder, Johann" <j...@manz.at>
Subject AW: search for non-breaking spaces
Date Fri, 29 Oct 2010 13:03:53 GMT
Hello Fabian,

thanks for the hint.

Unfortunately it doesn't work.

I use Java and UTF-8 Encoding.
Other text strings like 'house' etc. are found...only Non Breaking Spaces are not...


Any other hint?

Johann



-----Ursprüngliche Nachricht-----
Von: Fabián Mandelbaum [mailto:fmandelbaum@gmail.com] 
Gesendet: Donnerstag, 28. Oktober 2010 16:36
An: users@jackrabbit.apache.org
Betreff: Re: search for non-breaking spaces

Hello Johann,

did you try with _x0020_ ?

On Thu, Oct 28, 2010 at 10:34 AM, Eder, Johann <joed@manz.at> wrote:
> Hi there,
>
> has anyone an idea how to search for non-breaking spaces ?
>
> I used '\u00A0' or '&#160;' or '&nbsp;' which does not work:
>
> String xPath = "/jcr:root/bibliothek//*[jcr:contains(.,'\u00A0')]";
>
> Result is 0.
> Thanks.
>
> Johann
>
>
>



-- 
Fabián Mandelbaum
IS Engineer

Mime
View raw message