[Pythonmac-SIG] Python that ships with Jaguar vs...

christopher ariza ariza@flexatone.com
Wed, 11 Sep 2002 14:02:19 -0400 (EDT)


while we are on the issue of the jaguar python, it seems that
xml.dom.minidom is broken in the python that apple ships:

[GCC Apple cpp-precomp 6.14] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.dom.minidom
>>> doc = xml.dom.minidom.parseString("<doc>my document.</doc>")

Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File
"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/
minidom.py", line 965, in parseString
   File
"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/
minidom.py", line 951, in _doparse
   File
"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/
pulldom.py", line 340, in parseString
   File
"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/sax/
__init__.py", line 93, in make_parser
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
 >>>

can somebody with 10.2 test this for me? what is this /BinaryCache? i dont
have 10.2 yet so i have this information from someone else. eitherway, i
was under the impression that xml.dom.minidom was standard python: this
works in win, MacPython, and macho-python. can anyone tell me why it would
not work in what is supposed to be a 'standard' unix build? many thanks.

____________________
   christopher ariza
http://flexatone.com