From: <bc...@wo...> - 2000-11-17 20:45:26
|
[Lars Marius Garshol explains what jython needs to support the xml package] >[snipped] > >I hope this helps. It is very helpfull. Thank you for the explanation. I tried to install xml under jython. To install I did this: - Installed PyXML 0.6.2 under CPython2.0. - Copies CPython2.0's Lib/xml to jython Lib/xml directory. - Copies _xmlplus from the CPython2.0 directory to jython Lib/_xmlplus directory. - Added a "python.xml.sax.parser = xml.sax.drivers2.drv_xmlproc" to my registry file. Something works, but most of the tests from 0.6.2's test suite crashes or throws exceptions. There seems to be plenty of room for improvements to its jython integration. If anyone will try to make these improvements, I would like to include the xml package in the jython installer. A CPython compatible API to xml processing would be very valuable. regards, finn |