You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/10/21 09:13:36 UTC

DO NOT REPLY [Bug 1205] - TransformerHandler not reusable

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1205

TransformerHandler not reusable





------- Additional Comments From thomas.hallgren@eoncompany.com  2002-10-21 07:13 -------
This problem remains in version 2.4.0.

The suggested call to TransformerImpl.reset() does not work. Not even if 
preceded with a call to TransformerImpl.setShouldReset(true).

Creating a new TransformerHandler, even on a cached Template, seems to give a 
serious performance penalty.

Why can't proper clean-up code be added to endDocument?