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 2003/08/07 06:26:38 UTC

DO NOT REPLY [Bug 22197] New: - Trace with PrintWriter(XalanStdOutputStream) fails assertion

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

Trace with PrintWriter(XalanStdOutputStream) fails assertion

           Summary: Trace with PrintWriter(XalanStdOutputStream) fails
                    assertion
           Product: XalanC
           Version: 1.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: dan@dansmart.com


XalanOutputStream has been modified so that
  write(const char* theBuffer)
now contains 
  assert(m_buffer.empty() == true);
preceded by the comment
 * The caller is responsible for making sure the buffer is flushed
 * before calling this member function.
Unfortunately neither TraceListenerDefault nor PrintWriter do in fact flush 
the buffer.

Dan