You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/01/02 21:19:47 UTC
DO NOT REPLY [Bug 15768] New: -
IndentPrinter calls StringBuffer.append( StringBuffer )
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=15768>.
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=15768
IndentPrinter calls StringBuffer.append( StringBuffer )
Summary: IndentPrinter calls StringBuffer.append( StringBuffer )
Product: Xerces2-J
Version: 2.2.1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Serialization
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: dan.stolz@future-skies.com
At line 184, org.apache.xml.serialize.IndentPrinter defines a method that
appends a StringBuffer to a StringBuffer. That overloaded method is only
available in the JDK 1.4 version of java.lang.StringBuffer.
In my application, this is being called from
org.apache.xml.serialize.XMLSerializer::startDocument
I can work around the problem by including a copy of IndentPrinter that changes
line 186 to
_text.append( text.toString() );
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org