DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28082>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28082

XMLReaderManager provides neither no way to clear its cache nor it clears its cache by 
itself





------- Additional Comments From [EMAIL PROTECTED]  2004-04-07 13:11 -------
Hello Henry,
Thank you for reacting so quickly. 

In order to explain my point of view, i am enclosing a few lines of code.
Considering the fact that the XMLReader is not thread safe, why not then not
share an instance at all between threads, hence the manager could uses a static
threadLocal var to keep a map which is unique for each thread, storing the
readers used by this thread and marking their use. 

This code is probably not perfect but could be used as a proof of concept ;-)

André

(file is following/preceding this post)

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

Reply via email to