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=21700>. 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=21700 org.apache.xml.serialze.Encodings.getEncodingInfo() fails to lookup UnicodeLittle Summary: org.apache.xml.serialze.Encodings.getEncodingInfo() fails to lookup UnicodeLittle Product: Xerces2-J Version: 2.4.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Serialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When output serializing an XML document with the XMLSerializer, it internally looks up the encoding by calling org.apache.xml.serialize.Encodings.getEncodingInfo(), passing in the encoding as "UnicodeLittle". The following code seems to be wrong: // need to convert it to upper case: encoding = encoding.toUpperCase(); String jName = EncodingMap.getIANA2JavaMapping(encoding); Inside the encoding map, most of the encodings are specified in upper case, but not UnicodeLittle, UnicodeBig (and a few others). This means that they cannot be found when a lookup is done in this manner. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]