|
| | | | What are the differences between Xerces-C and XML4C? | | | | |
| |
Xerces-C has intrinsic support for ASCII, UTF-8, UTF-16
(Big/Small Endian), UCS4 (Big/Small Endian), EBCDIC code pages IBM037 and
IBM1140 encodings, ISO-8859-1 (aka Latin1) and Windows-1252. This means that it can parse
input XML files in these above mentioned encodings.
However, if you wish to parse XML files in any other
encodings, say in Shift-JIS, Big5 etc., then you cannot
use Xerces-C. XML4C addresses this need. It combines Xerces-C
and
International Components for Unicode (ICU) and
provides support for over 100 different encodings.
ICU is also an open source project but is licensed
under the
X License. XML4C is published by IBM and
can be downloaded from their Alphaworks
site. The license to use XML4C is simply to comply with
the Apache license (because of Xerces-C) and X License (because of ICU).
XML4C binaries are published for Solaris using SunWorkshop
compiler, HPUX 10.20 and 11.0 using CC and aCC, Redhat
Linux using gcc, Windows NT using MSVC, AIX using xlC.
|
| | | | Which DLL's do I need to distribute with my application? | | | | |
| |
As mentioned above, there are two configurations in
which Xerces-C binaries are shipped. One is from the Apache
site, while the other is from IBM
published at IBM's
Alphaworks Site.
If you are using the binaries from the Apache download
site site, then you only need to distribute
one file:
xerces-c_1_5.dll for Windows NT/95/98, or
libxerces-c1_5.a for AIX, or
libxerces-c1_5.so for Solaris/Linux, or
libxerces-c1_5.sl for HP-UX.
However, if you are using the XML4C binaries then in
addition to the library file
mentioned above, you also need to ship:
- ICU shared library file:
icuuc.dll for Windows NT/95/98, or
libicuuc.a for AIX, or
libicuuc.so for Solaris/Linux, or
libicuuc.sl for HP-UX.
- ICU converter data shared library file:
icudata.dll for Windows NT/95/98, or
libicudata.a for AIX, or
libicudata.so for Solaris/Linux, or
libicudata.sl for HP-UX.
|
|
|