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/07/24 15:06:40 UTC

DO NOT REPLY [Bug 11127] New: - Writer is flushed() too often

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

Writer is flushed() too often

           Summary: Writer is flushed() too often
           Product: XalanJ2
           Version: 2.3Dx
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: sanz@denic.de


I pass a StreamResult made out of a BufferedWriter to Transformer.transform(). 
The reason for a BufferedWriter is that I/O-performance is critical to my 
application.

Sooner or later in the transformation process, we reach 
SerializerToXML.flushWriter(). Disafortunately, the BufferedWriter is ALWAYS 
flushed, which is deadly to me.