xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27417] New: - XSLTC Transformer does not close the output stream it creates
Date Wed, 03 Mar 2004 17:59:16 GMT
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.

Mime
View raw message