Message:
The following issue has been closed.
Resolver: Alberto Massari
Date: Fri, 22 Oct 2004 11:40 AM
I have tried modifying the DOMPrint sample so that it takes the text node, invokes
XMLString::transcode on it, prints it to cout and then calls XMLString::release. I ran
it on a Japanese Windows Server 2003, and it works (also using Xerces 2.4). Which
version of Xerces are you using?
Alberto
---------------------------------------------------------------------
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: Closed
Priority: Critical
Resolution: CANNOT REPRODUCE
Project: Xerces-C++
Assignee:
Reporter: Aditya Kulkarni
Created: Mon, 18 Oct 2004 4:25 AM
Updated: Fri, 22 Oct 2004 11:40 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]