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=18638>. 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=18638 XalanDOMString::insert fails with insertions into empty string Summary: XalanDOMString::insert fails with insertions into empty string Product: XalanC Version: 1.4.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The reason for this seems to be that XalanDOMString internally uses a vector data buffer which is either empty, or has an extra NULL character in it. The insert functions do not take account of inserting into an empty string, and give rise to assertions in invariants() (and more seriously, incorrect behaviour with c_str()). Also applies to 1.5rc1, but in this case the new XalanParsedURI triggers the bug.
