[EMAIL PROTECTED] wrote:
>
> FYI, the incompatibility issues that arise with pyexpat in mod_python
> are well documented at:
>
> http://www.dscpl.com.au/articles/modpython-006.html
Nice document! Is there some possibly-similar explanation of character
encoding issues with mod_python and Expat so
Paul Boddie wrote:
> Frank Millman wrote:
> > Fredrik Lundh wrote:
> > >
> > > no, it's not a bug in the pyexpat module -- the problem is that
> > > wxPython uses it's own incompatible version of the expat library,
> > > and loads it in a way that causes problems for any library that's
> > > tries
I'm hesitant to resort to tricks like "import pyexpat before wx, so
that symbols are loaded from the right library".
Luckily, I stumbled onto pxdom. It's a pure-python DOM implementation,
and switching to it was as easy as this:
# import xml.dom.minidom as dom
import pxdom as dom
--
http://mai
Frank Millman wrote:
> Fredrik Lundh wrote:
> >
> > no, it's not a bug in the pyexpat module -- the problem is that
> > wxPython uses it's own incompatible version of the expat library,
> > and loads it in a way that causes problems for any library that's
> > tries to use its own statically linked
Fredrik Lundh wrote:
> Frank Millman wrote:
>
> > This sounds similar to a problem I reported a few months ago. This is
> > the link.
> >
> http://groups.google.com/group/comp.lang.python/browse_frm/thread/6fc1097d26083e43/5fbdf493f3c38942?q=&rnum=1&hl=en#5fbdf493f3c38942
> >
> > In my case, it tu
Frank Millman wrote:
> This sounds similar to a problem I reported a few months ago. This is
> the link.
>
http://groups.google.com/group/comp.lang.python/browse_frm/thread/6fc1097d26083e43/5fbdf493f3c38942?q=&rnum=1&hl=en#5fbdf493f3c38942
>
> In my case, it turned out to be a bug in the pyexpat m
Lonnie Princehouse wrote:
> Hi all,
>
> I'm getting a seg fault when I try to use minidom to parse some XML
> inside a wxPython app.
>
> I was wondering if someone else could run the simple code below on
> Linux and, if it doesn't crash horribly, post which versions of
> (Python, wxPython) they ar
Lonnie Princehouse wrote:
> Oops, I missed a bracket... that should read:
>
> testxml = ''
>
> But it still crashes ;-)
Maybe missing a question mark still too?
(It's like a processing instruction, not an element.)
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
Oops, I missed a bracket... that should read:
testxml = ''
But it still crashes ;-)
--
http://mail.python.org/mailman/listinfo/python-list