[Zope] xml.dom.minidom
Patrick W. Fraley
pf@comsulting.de
16 Jul 2003 15:29:15 +0200
Hi List,
I am trying to use the xml.dom.minidom praseString routine. It works
fine under normal python (2.2), but when I try and runn it under the
binary distribution of Zope (Python 2.1) I get teh following error
message:
Traceback (most recent call last):
File "mM4Connection.py", line 118, in ?
dom_parser = parseString(xmldata)
File "/opt/Zope-2.6.1/lib/python2.1/xml/dom/minidom.py", line 915, in
parseString
return _doparse(pulldom.parseString, args, kwargs)
File "/opt/Zope-2.6.1/lib/python2.1/xml/dom/minidom.py", line 901, in
_doparse
events = apply(func, args, kwargs)
File "/opt/Zope-2.6.1/lib/python2.1/xml/dom/pulldom.py", line 301, in
parseString
parser = xml.sax.make_parser()
File "/opt/Zope-2.6.1/lib/python2.1/xml/sax/__init__.py", line 88, in
make_parser
raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
Now I though all these modules (including a parser) are part of a
standard python distribution.
How can I get this to work? Or is there a better way to use XML under
Zope? Do I have to install some extra Packages?
Tia
Patrick
--
***************************************
COMsulting Gerhard Faehling GmbH
Patrick W. Fraley
Oeverdieker Weg 6
23669 Timmendorfer Strand
Tel: 04503 / 88 12 45
Fax: 04503 / 88 10 18
E-Mail: pf@comsulting.de
Internet: www.comsulting.de
***************************************