[Zope] pqrsing with sax

Phil Harris phil.harris@zope.co.uk
Thu, 11 Oct 2001 10:29:40 +0100


Zope comes with it's own version of expat, and if you've installed ParsedXML
then you'll have yet another expat version.


----- Original Message -----
From: "Michel Vayssade" <michel.vayssade@utc.fr>
To: <zope@zope.org>
Sent: Thursday, October 11, 2001 10:25 AM
Subject: [Zope] pqrsing with sax


>
> Hi,
>
> I am new to zope, and find it difficult to get around errors.
> Here I have a problem I don't understand :
>
> I have a "parse.py" file which parse xml files with sax
>
> this script is working when I run it outside or Zope from the
> unix shell
>
> when I try to call it as an external method I got the error :
> Attribute error
> 'xml.sax.expatreader' module has no attribute 'create_parser'
>
> It's look like some import not done ?
>
> has anybody an hint ?
> thanks
>
> --
>   _/   _/ _/_/_/  _/_/ Michel.Vayssade@UTC.fr    Service Informatique
>  _/   _/   _/  _/      T:33/0-3.44.23.49.24 Universite de Technologie
> _/   _/   _/  _/       F:33/0-3.44.23.46.77 BP 20.529 60205 Compiegne
>  _/_/    _/    _/_/    _ mv@utc.fr __/www.utc.fr/~vayssade____ France
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )