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=24826>.
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=24826

Transformer.transform is not thread safe (with nested xslt's)





------- Additional Comments From [EMAIL PROTECTED]  2003-11-19 16:33 -------
Documentation - Xalan Javadoc.

And Templates are not thread safe as well (unfortunatelly....). At least if 
template.newTransformer () is not guarded by "synchronised(template) {...}" - 
NullPointer exception, if the same template is used by more than one thread. 
The same happens with TransformerFactory.newTemplate (source)......

I don't have a look in to the sources, but I it looks like that 
template.newTransformer() tries to reuse Transformer instance instead of 
creating fresh one?

Reply via email to