i would like to suggest to add another UTF16EncodingStr to XMLUni.hpp/cpp
so that it correctly handles the following encoding:
iso-10646-ucs-2
which is what is returend by the xml database tamino if asked for utf-16.
i already did the change for myself and it worked without any problem. i
added:
static const XMLCh fgUTF16EncodingString5[];
to XMLUni.hpp
const XMLCh XMLUni::fgUTF16EncodingString5[] =
{
chLatin_I, chLatin_S, chLatin_O, chDash, chDigit_1, chDigit_0,
chDigit_6, chDigit_4, chDigit_6, chDash, chLatin_U, chLatin_C,
chLatin_S, chDash, chDigit_2, chNull
};
to XMLUni.cpp
and:
|| !XMLString::compareIString(newEncoding,
XMLUni::fgUTF16EncodingString5))
to XMLReader.cpp just after the occurence of:
fgUTF16EncodingString4
hope to see this addition in xerces-c 1.6.0
bye,
georg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]