The following comment has been added to this issue:
Author: Alberto Massari
Created: Mon, 18 Oct 2004 9:17 AM
Body:
The error you are seeing is signaling that a buffer overrun has happened (in debug
mode every allocated buffer is terminated with a specific byte sequence that is
checked upon deallocation, and in your case this sequence has been altered).
Could you post the code you are using?
Thanks,
Alberto
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XERCESC-1290?page=comments#action_54312
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1290
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1290
Summary: XMLString::release gives strange error when string contains Japanese
characters
Type: Bug
Status: Unassigned
Priority: Critical
Project: Xerces-C++
Assignee:
Reporter: Aditya Kulkarni
Created: Mon, 18 Oct 2004 4:25 AM
Updated: Mon, 18 Oct 2004 9:17 AM
Environment: Windows 2000, MSVC7.1, Not multi-threaded.
Description:
My XML file contains a mixture of Japanese and English characters. For example,
<Vendor>漢字ABCD漢字</Vendor>.
I use XMLString::transcode function to convert the above string (a mix of Japanese and
English) from utf-16 format to utf-8 format. The char buffer allocated by
XMLString::transcode is then released using the XMLString::release(&char_buffer).
The XMLString::release function gives the following error.
Debug Error!
Damage After Normal Block (#block number) at memory address (some hex address).
It gives you option of Abort, Retry, Ignore. On selecting ignore, the program
functions as desired.
Thanks
Aditya Kulkarni
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]