|
From: <bc...@wo...> - 2001-04-13 17:06:29
|
[Steven Marcus] >I have been trying to run some of the test cases in PyXML with >jython-2.1a1. First, it appears that someone on the PyXML team >is aware of and/or using jython as there is some special case >code to deal with importing. This is great news! > >1) However, the 4DOM code appears to be using sys.hexversion to >decide whether unicode is available. Should jython set this by >default? Yes. Jython will set this in the next release. >While where at it, what about sys.version_info? Yep, that will exist in the next release too. >2) For some reason the SECOND occurrence of >xml.sax.make_parser() fails. I have included sample program and >output below. Last time I looked, the PyXML package did not have a pure python solution that was ready for primetime. It may have changes since. Try to run the same program under CPython. If you manage to get PyXML running without any native libraries (like pyexpat), please let me know about your setup. regards, finn |