Message:
The following issue has been resolved as FIXED.
Resolver: Alberto Massari
Date: Mon, 19 Apr 2004 1:55 AM
The patch is in CVS. Please verify.
Thanks,
Alberto
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1198
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1198
Summary: "UTF16" is not recognized as "UTF-16"
Type: Bug
Status: Resolved
Priority: Minor
Resolution: FIXED
Project: Xerces-C++
Components:
Utilities
Versions:
2.5.0
Assignee:
Reporter: Shin'ya MORINO
Created: Sat, 17 Apr 2004 3:08 AM
Updated: Mon, 19 Apr 2004 1:55 AM
Environment: All platforms.
Description:
"UTF16" is not recognized as an alternative name of "UTF-16".
I confirmed that 5 versions of "UTF-16" encoding names including "UTF16" are defined
in XMLUni.cpp, but in TransService.cpp, only 4 versions are implemented, and "UTF16"
is ignored.
Here's the patch for Xerces-C++ to recognize "UTF16" as "UTF-16".
--- TransService.cpp.orig Thu Jan 29 20:48:46 2004
+++ TransService.cpp Thu Apr 15 22:45:29 2004
@@ -457,6 +457,15 @@
);
gMappings->put
(
+ (void*)XMLUni::fgUTF16EncodingString5,
+ new EEndianNameMapFor<XMLUTF16Transcoder>
+ (
+ XMLUni::fgUTF16EncodingString5
+ , false
+ )
+ );
+ gMappings->put
+ (
(void*)XMLUni::fgUCS4EncodingString,
new EEndianNameMapFor<XMLUCS4Transcoder>
(
---------------------------------------------------------------------
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]