[XML-SIG] problems with PyXML 0.6.3
Tue, 13 Feb 2001 00:42:01 -0800
I downloaded PyXML-0.6.3.win32-py2.0.exe and ran it.
Here are some comments:
The first time I ran it, it installed into my existing _xmlplus directory,
which left some old files, which confused python.
Shouldn't the installer remove or rename the existing _xmlplus dir first?
xmldoc/README says it's "v0.6.2"
xmldoc/README could note that if you've just run an installer,
you don't have to do any of the "python setup.py ..." commands.
(At least, I *think* you don't have to.)
Either xmldoc/README or (new file) xmldoc/test/README should tell you
how to run the tests in this dir (`python testxml.py -g', I think),
and how to interpret what happens. Similarly for subdirs.
Maybe tests should be run automatically on installation.
I had 2 tests fail:
test test_sax crashed --
exception.SystemError : 'finally' pops bad exception
test test_saxdrivers crashed --
exceptions.IOError : [Errno url error] unknown url type: 'c'
When I tried `python test.py', I got "Error in syntax" right away.
When I ran one of my DOM programs, I got this exception:
from xml.dom.Node import Node
ImportError: No module named Node
When I tried removing the ".Node" from the import statement, the program ran
as before, so apparently that is the fix, but shouldn't this be noted fairly
prominently in xmldoc/README or xmldoc/README.dom?
xmldoc/doc/4DOM/index.html has links to ../PACKAGES.html and ../README.html,
which do not exist.