At 12:54 PM 27-09-01 +0200, Markus Volberg wrote:
>Hello,
>
>I am new to Xerces and I have a problem:
>Where is the XMLCh Class documented? It's not in the api (alphabetical list)
>and I coundn't find it anywhere else. I am using the latest version 1.5.1 on
>a windows platform. 

XMLCh is a simple typedef (not a class).  You can find in defined for each
compiler in the src/util/Compilers directory.

To preempt a few questions, XMLCh
  * is generally typedef'ed to 'unsigned short'
  * needs to be able to hold 16 bits of information
  * is not identical to wchar_t on all platforms

Internally, Xerces uses UTF-16 encoding (for more info see
http://www.unicode.org/unicode/faq/utf_bom.html#6).  Different platforms
have different represenations of wide characters (see
http://xml.apache.org/xerces-c/build-misc.html#faq-5) and some conversion
may be necessary.  Depending on your needs, the XMLString::transcode
function may be appropriate.

                                                        -=- Jerry Carter


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

Reply via email to