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 2004/03/03 18:59:16 UTC
DO NOT REPLY [Bug 27417] New: -
XSLTC Transformer does not close the output stream it creates
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=27417>.
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=27417
XSLTC Transformer does not close the output stream it creates
Summary: XSLTC Transformer does not close the output stream it
creates
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Xalan-Xsltc
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: mkwan@ca.ibm.com
The problem is in org.apache.xalan.xsltc.trax.TransformerImpl.getOutputHandler
(Result result).
If the result is a StreamResult created from a system id, this method will
create a FileOutputStream around the system id. The output stream is not closed
after the transformation. I saw an intermittent failure in test harness because
of this problem.