Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-197 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-197 Summary: DOMString::transcode does not always detect wcstombs errors Type: Bug Status: Closed Resolution: WON'T FIX Project: Xerces-C++ Components: DOM Versions: 1.5.1 Assignee: Reporter: jclifford Created: Fri, 7 Sep 2001 12:32 PM Updated: Tue, 19 Oct 2004 10:54 AM Environment: Operating System: Solaris Platform: Sun Description: On Win32 and Solaris, if any character except the first cannot be converted by wcstombs, DOMString::transcode will return the string buffer as returned by wcstombs (properly NUL terminated, but with invalid characters starting at the first character which could not be translated). On HP-UX, the same scenario returns a blank string. The difference between platforms is that wcstombs does not seem to detect errors when merely computing the target buffer size (ie wcstombs(NULL,wchar_t *,0)) on Win32 and Solaris. The error is returned when actually converting the string. --------------------------------------------------------------------- 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]