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

MemBufInputSource "adoptBuffer" set to true results in assertion failure





------- Additional Comments From [EMAIL PROTECTED]  2003-07-04 00:22 -------
OK, I just took a look at your code.  Why are you dynamically allocating a 
std::string, passing the pointer returned from std::string::c_str(), then 
expecting Xerces to delete it?  That memory, if it was even dynamically 
allocated, is owned by the std::string instance.

Instead of using std::string, you should test by allocation a buffer using new:

char*  buf = new char[2000];

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to