XML Class Generator C++ Solaris

From: Thomas Schaefer <schaefer_at_bioinf.uni-sb.de>
Date: Wed, 19 Mar 2003 14:51:18 +0100
Message-ID: <3E7875D6.AC2AC0A5_at_bioinf.uni-sb.de>



Hi all,

I downloaded Oracle XDK for C++ (Sun Solaris) which includes the XML class generator, both as binary and as source. Unfortunately, xmlcg (the class generator) doesn't work: It always says "Failed to initialize parser". So I looked into the source and tried to recompile. Now for the real problem: The Makefile contains this funny line:

# Generate classes if needed
sample.h: sample.xml

        $(CLASSGEN) sample.xml

sample.h is needed by the class generator main cpp file but is not included in the source directory - and guess, $(CLASSGEN) actually stands for xmlcg, the executable which I wanted to build :) But the reason why I wanted to build xmlcg was because the distributed binary is not working. And how should I get sample.h without a working version of xmlcg...?

Any ideas? Or does anyone have sample.h and queue.h, both needed for building? Did anyone successfully use the class generator? I used Oracle XML Developer's Kit for C++ on Sun Solaris - 9i, xdk_c_9_2_0_4_0.tar.gz. I also downloaded the kit for Sun Solaris 8 but this tarball doesn't contain the class generator.

Regards
Thomas Received on Wed Mar 19 2003 - 14:51:18 CET

Original text of this message