expat/unicode question

Arkadiy Vertleyb <[email protected]> Thu, 26 Aug 2010 10:22:06 -0400
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hi all,

I am confused whith the way unicode and regular XML documents should
be used with expat:

- Is it possible to process wide char (unicode) docs when expat is
compiled in single-byte char mode (typedef char XML_Char)?

- Is it possible to process regular docs when expat is compiled in
wide char mode (typedef wchar_t XML_Char)?

- Why the XML_Parse() function accepts the buffer as const char*
rather than const XML_Char*?  Does this mean yes for the first two
questions?

Thanks in advance for any help.