From: D-Man <ds...@ri...> - 2001-07-02 17:41:11
|
On Sun, Jul 01, 2001 at 04:18:10PM -0700, Alan Littleford wrote: | I am trying to get soappy (www.actzero.com) running under Jython (2.1). It | seems the xml package is absent from Jython so I am wondering: | | 1) Can I simply copy over the xml package from Python 2.0 AFAIK xml in CPython is a few Python modules mainly for API specs, but the core of it is in C (expat, or some other implementation). | 2) Soappy requires a SAX 2 compliant XML parser -- does such a beast exist | in pure Python or do I have to try to integrate a Java implementation | (Xerces ??) into the xml package? Has this already been done somewhere? Since the xml parsing in CPython is C code, I don't know of any pure python implementations. You might want to check out the Jakarta project, a part of the Apache group. They have a bunch of Java stuff including an XML parser (don't know if it is SAX2 or not) and regex stuff. The regex stuff is used by Jython, and the XML stuff is used by the (Java) company I am working for right now (but I haven't worked on that part of the project). HTH, -D |