Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Michael Chermside <mcherm@de...> - 2001-10-23 14:56:38
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
File "C:\Applications\Python21\lib\xml\sax\__init__.py", line 88, in
SAXReaderNotAvailable: No parsers found
This looks bad, but the special-case code must be there for some reason.
Anyone able to help?
-- Michael Chermside