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=26169>. 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=26169 ElemLiteralResult and ElemTextLiteral do not flush soon enough when tracing Summary: ElemLiteralResult and ElemTextLiteral do not flush soon enough when tracing Product: XalanJ2 Version: CurrentCVS Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.templates AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Because the serializer buffers some output, some trace events occur out of order. For example if the serializer output is ...<out1>text1<out2>text2</out2></out1> then "text1" might be buffered and the trace listener can get the event for the start of <out2> before the event for the text "text1". The fix is for ElemTextLiteral and ElemLiteralResult to flush the serializer before starting the new element. This would only happen when tracing, so the flushing is not a performance issue when not tracing.
