cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: LuceneIndexContentHandler
Date Thu, 11 Mar 2004 19:50:21 GMT
On 11.03.2004 13:23, Vadim Gritsenko wrote:

> startElement a
> character 'key'
> startElement b
> character 'word'
> 
> Will become "keyword" instead of "key word". No, this won't work, again :-)
> Addition of
> 
> startElement:
>    if (flag)
>        x.append(' ');
>        flag = false;
> 
> Should fix it, shouldn't it?

This game is becoming funny :)

Replace the startElements in your sample with endElements and it won't 
work. But adding if(flag) like above additionally to endElement should 
fix this. Did we get it now? :)

Joerg

Mime
View raw message