|
From: Gunadi, W. <Wiw...@co...> - 2001-07-16 15:52:46
|
In my situation, I can't use Xerces because it has a problem with the stuff coming out of the SOAP server that I have no control of... I'm talking about the d:\python21\lib\xml\sax My program does: import xml.sax or import xml from xml.sax both works from python, but when i try jythonc on it, even with --deep, it won't pick up and build the xml.sax modules. Wiwih "Will" Gunadi CGF Developer 972.577.0332 wiw...@co... Compuware Corp. - Products > -----Original Message----- > From: Titus Brown [mailto:ti...@ca...] > Sent: Monday, July 16, 2001 10:48 AM > To: Gunadi, Wiwih > Cc: 'jyt...@li...' > Subject: Re: [Jython-dev] jythonc with xml.sax > > > -> 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 > -> jythonc > > 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/. > > cheers, > --titus > |