--- Vadim Gritsenko <[EMAIL PROTECTED]>
wrote:

Vadim, 

I looked at the characters method. I want to be able
to see what it does when it executes this, but I
assume I just cant stick system.oit.println() calls in
there to see what the values of various variables are
when it runs. Is there some way I could produce some
debugging information so I could watch this method
run? Is there a way to output to the cocoon log?



> 
> Look into LuceneIndexContentHandler, characters()
> method.
> 
> Ok, I see that it appends text only to bodyText and
> current tag...
> Simple solution would be to add text to every field
> in stack (in
> characters(), for(;;) instead of if()), but better
> solution is to have
> not stack of StringBuffers (see this.elementStack),
> but stack of indexes
> in single string buffer (this.bodyText). This
> solution will utilize
> memory more efficiently.
> 
> 
> Vadim
>  
> 
> >     Suggestions appreciated. I imagine someone has
> run
> > into this and has already come up with a workable
> > solution.
> 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:  
> <[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to