Hi,

I know this topic was covered extensivly in the past, but I couldn't
find something which covers 1.5+.

Current setup:
In production, we still use Xerces-C 1.4.2/gcc-2.x compiled with the
"make XMLCh an alias for wchar_t" backward compability #define. 
Whenever we need string literals, we use L"literal".  We also onle use
ISO-Latin-1.  Things work fine under both Solaris-[78] and Linux-2.4

Intended new setup:
I want to use Xerces-C out-of-the-box (i.e. without patching
GCCDefs.hpp).  It seems that Xerces-1.5+ (at least under Linux, will try
Solaris RSN) works if I just remove the 'L' in front of all string
literals.

Questions:
(1) Is this really the right way to go or does this has some major      
pitfalls which I currently can't see?

(2) Will this also work with UTF-8 as encoding if we restrict all string
literals (and comparisons etc.) to the Latin-1 subset (for e.g.
supporting  Korean names within text nodes which we just pass through)?

Thanks for your time!

--nk




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

Reply via email to