Xerces-C Validating XML Parser
Version 2.3.0 for OS/2 and eComStation
Background
This port was done, because I was in need of a XML-Parser for an OS/2
project I'm currently working on. Since I'm doing a lot of Java
programming, I know the Xerces Parser very well. So I decided to use it
for C++ under OS/2 also. But the Problem was, that the latest port for
OS/2 was Version 1.4.0 and a lot has changed since then.
How it was done
Since I'm using VisualAge C++ 3.0 for all of my OS/2 programming I've
created an all new build environment (Object-Rexx-Script) for this
compiler, that does everything in one step. This build environment and
the one that works with VisualAge C++ 4.0, is included in the source
distribution, which you may download from this site. Please have a look
at the "readme" in the projects\os2\vacpp30
directory for instructions of how to use the script. There are two
different binary packages: One build with VisualAge C++ 3.0 and another
build with VisualAge C++ 4.0.
Pre-Requisites
The dll should work with OS/2 4.0 and eCS 1.01 and above. I'll maybe do
some testing on Warp 3 later. (If there is any need ;-) The code is
optimized to run on Pentium-Type processors. Please contact me, if you
need a binary for older types, or build your own....
What is not included
This version of Xerces has a new C++ API. The older, java-like api was
declared deprecated by the xerces-folks, and is not included in this
distribution, since it produced compile errors.
How to Download
You can find zip archives at the following addresses:
If you plan to compile the sources on your own, you must used this
source package! There are some minor changes in the source files, that
are currently not included in the CVS repository at the
apache-xerces-site. I hope that these changes will be integrated into
the repository very soon.
How to install
Just unpack the ZIP file and put the dll from the bin-directory to any
path, that is listed in the LIBPATH environment variable. Make sure you
add the lib and the include directory, to the corresponding environment
variables of your C++ compiler. Then you should be ready to compile and
run.
Samples
There are some samples in the "samples" directory. You'll find a Projects\OS2 directory there, that
has some scripts and project files, for easy building of the examples
with the VisualAge C++ 3.0 and 4.0 compiler. Compiling with VisualAge
C++ 3.0 now automatically defines NO_NATIVE_BOOL, so you don't need to
specify this option on the compilers command line any longer.
Future plans
I plan to set up a build environment for the OpenWatcom compiler.
Integrate this port into the CVS repository at the Apache-Xerces-Site,
and keep it up to date.
How to contact me
For any questions concerning this distribution, you may contact me at
joachim.deelen.ecs@deelen.de. For questions concerning Xerces itself,
please have a look at the web site xml.apache.org and/or subscribe to
xerces mailing-lists.
Have more fun with OS/2...
Joachim Deelen
Cologne, Germany
P.S.:
Expect more exciting OS/2 (eES) software to come in the future. Please
check my website at http://www.deelen.de which is currently under
construction...