You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Stevie-O <ol...@klozoff.com> on 2003/10/10 22:57:15 UTC

Xalan/Xerces COM Wrapper

There's a Xalan users list, but no Xerces user list.  Does that mean that nobody 
actually uses Xerces?


I have produced a COM wrapper for Xalan and Xerces.  I've been working at it for
a while (just under a month), this is the first version that actually works at
all ;)

The entire thing is kinda-sorta-almost automatically generated.  After an
extremely heavy dosage of patches (many of which wouldn't be needed by a more
sophisticated script, but hey, I started from nothing), a file containing most
of the necessary information on the Xalan/Xerces classes is processed by a
recursive-descent parser that understands a subset of C++ syntax.  The parser
then more-or-less automatically (note fixups.pl) generates a wrapper class for
each Xalan/Xerces class, and automatically generates a function body for each
member function.

This is not production quality. Heck, it's not even beta quality.  I *might* be
willing to risk calling it alpha quality.  It compiled and ran two brief tests
without taking down my machine, and thus I am submitting it for the world (or at
least those in it who read these mailing lists) to see.  If nobody likes it,
I'll probably let it die.

Oh, yeah, this might help:
http://www.qrpff.net/~stevie/XalanLib.zip

-- 

- Stevie-O

Real Programmers use COPY CON PROGRAM.EXE