[mod_python] Expat-like parseString error

Joseph Bernhardt joe at incomps.com
Thu May 29 11:23:57 EDT 2008


I am experiencing an issue very similar to the one found here:

 

http://mail.python.org/pipermail/python-list/2007-January/424015.html

 

whereas as mod_python application will return a blank screen upon the
calling of parseString.  Example:

 

from xml.dom.minidom import parseString

 

def index(req):

    parseString("<info>stuff</info>")

    return "blah"

 

The funny thing is, I am using Python 2.5 with expat 2.0.0, and therefore
the expat bug should not apply, correct?  Apache is using expat 1.95.7.
Would that make a difference?   Perhaps it is something completely
different.  Also, importing expat works just fine:

 

import pyexpat

 

def index(req):

    return "blah"

 

and it returns what it should.  What else can I try to narrow down the
issue?  Or, is there some other documentation that someone can point me to?
I can't seem to find anything else.

 

Thanks in advance!

 

Joseph Bernhardt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080529/253ebd52/attachment.html


More information about the Mod_python mailing list