Hoping someone can help:
I wrote a quick prototype in cpython for my project; but now I'd like to
compile with jython and run under java. My program uses some things from
the xml package. At first, I was worried that it wouldn't be possible
(no parser), but as I was reading xml.sax.__init__.py, I saw that it has
special casing for the java environment.
1) Can I run something using the xml parser under jython?
2) If so, then what am I doing wrong? I have been setting sys.path to
include my python 'libs' directory, then importing my package. I get an
exception:
File "C:\Applications\Python21\lib\xml\sax\__init__.py", line 88, in
make_parser
SAXReaderNotAvailable: No parsers found
This looks bad, but the special-case code must be there for some reason.
Anyone able to help?
-- Michael Chermside
|