From: O'Brien-Strain, E. <eo...@ex...> - 2001-10-23 19:43:45
|
Possibly you need to put the jar file for some XML parser on your classpath. You can get the xerces parser from: http://xml.apache.org/xerces-j/ __ Eamonn O'Brien-Strain HP Labs eo...@hp... -----Original Message----- From: Michael Chermside [mailto:mc...@de...] Sent: Tuesday, October 23, 2001 7:58 AM To: jyt...@li... Subject: [Jython-users] jython with xml 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 _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |