You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Andres, Judith" <ju...@rauser-ag.com> on 2002/06/27 18:48:44 UTC

Problem with FileGenerator

Hi,

I have an XML file that I process using FileGenerator. So far so good.
Sometimes have to delete this file while Cocoon / Tomcat are still running -
the user requests me to do so - but I simply can't. When I shutdown Tomcat I
can delete the file.

Ok. I have already done some investigation. It seems that
inputSource.toSax(contentHandler) triggers this behaviour and in this method
the use of parser looked up by the manager. I have come to this conclusion
because I wrote my own FileGenerator with which this problem did not occur.
Within my FileGenerator I instantiated an XMLReader and didn't ask the
manager to find me one and let this reader parse the XML file.

Does this make any sense to you?

Thanks beforehand
Judith

---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>