have any of you successfully compiled a program that imports xml.sax ?
i couldn't get the xml module to be created even when I use --deep switch on
Wiwih "Will" Gunadi
Compuware Corp. - Products
From: Titus Brown <titus@ca...> - 2001-07-16 15:47:56
-> have any of you successfully compiled a program that imports xml.sax ?
-> i couldn't get the xml module to be created even when I use --deep switch on
Yes, I did. It was no fun, though; I'm almost glad to hear that someone
else is having problems ;).
In the end, I had to do two things:
* unpack and repack xerces.jar (I'm using Xerces-J 1 from xml.apache.org);
* include sax2.jar
I do not understand why either of these things was necessary, since
things worked fine with the interpreter when I simply put xerces.jar
in jre/lib/ext. *shrug*
The package is GPL, and you can get the dist Makefile & JARs from CVS
on Sourceforge. Check out http://familjewels.sourceforge.net/.
[Wiwih "Will" Gunadi]
>have any of you successfully compiled a program that imports xml.sax ?
>i couldn't get the xml module to be created even when I use --deep switch on
In 2.1beta1 I expect parts of the PyXML package to be shipped within the
jython distribution. Based on this new setup I managed to compile a very
simple xml.sax application with jythonc.
In my main program I needed to a dummy function like this:
It causes the dynamicly loaded modules to be visible to jythonc during
The test application is available as test313.py and test313c.py here:
This probably doesn't fix your particular problem, but I hope it will
become easier to use xml.sax as the work progress.