>[EMAIL PROTECTED] wrote:
>
>>>Although XMLCh is UTF-16, I believe the transcoding routines make a
>>>point of escaping reserved characters like "<" to "&lt;", so the two
>>>string formats you mention are not interchangeable.
>>>
>>>
>>
>>Those characters are not escaped during transcoding.  They would only be
>>escaped when generating markup.
>>
>So is that a yes to XMLCh* == UChar* ?

In most cases, the answer is yes.  On platforms where wchar_t is know to
hold UTF-16 code points, the ICU will use wchar_t, where Xerces-C will
typedef XMLCh to unsigned short.  So, on some platforms, the two will not
be type-compatible, which you can solve by copying values from one to
another, or by using a nasty cast.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to