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

Xalan/Xerces COM Wrapper

Please don't get mad at me for crossposting!

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 ;)

For the Xerces people: This is not a replacement for the MSXML-compatible 
wrapper that's already in existence.  This was made for Xerces.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org