You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by m....@gmx.net on 2002/08/03 12:28:42 UTC

[patch] SimpleCocoonCrawlerImpl

hi,

i encounter a problem with my application and the
SimpleCocoonCrawlerImpl.java

well first it seems it does the job OK, but when the
LuceneIndexerXMLIndexerIml
wanted to access the same files again for indexing they didn't have a
conentType anymore and were ignored.

looking at SimpleCocoonCrawlerImpl.java there was an open URLConnection
which
was never closed. so closing this URLConnection, did solve my problem, i.e.
the indexer gets now the same content-type as the crawler.

well, I don't know if this is a problem with my cocoon-application or
whether there are reasons why not to close an URLConnection.

anyway I just attached a patch, which also adresses an 'null' check for the
content-type.

may cocoon become a beautiful butterfly ;-)
Kristian
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Re: [patch] SimpleCocoonCrawlerImpl

Posted by Bernhard Huber <be...@a1.net>.
hi,
thx for the patch i'm going to commit it,
bye




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org