2005年8月30日星期二

XML module for Jython 2.2

When writing a simple program to test the SOAP interface of our product, I found that the xml modules provided in Jython 2.1 was too buggy.

Although I know that after Jim Hugunin left, the development of jython became very stagnant, I still checked Jython's homepage and found that Jython 2.2alpha1 were out quietly in last month.

But after upgrading, I found that the XML modules now even totally removed in this release!

Fortunately enough on the jython-user mailing list , someone had just asked the same question, and David Hume said that he had written an implementation of the xml.dom API which acts as a thin wrapper for the Java libraries, which could be downloaded from here. It works very, even with Chinese characters (even CPython < 2.4 doesn't handle this well).

没有评论: