sax with python 2.2

G.Villot georges_villot@yahoo.com
Mon Apr 1 05:18:00 GMT 2002


Hi,

I got the following error when using sax.utils:

class Test(saxutils.DefaultHandler):
AttributeError: 'module' object has no attribute 'DefaultHandler'

here is the python file:
import pyPgSQL.PgSQL
from xml.sax import saxutils
from xml.sax import make_parser
from xml.sax.handler import feature_namespaces
	
class Test(saxutils.DefaultHandler): ...

Any idea ?

Thanks,

Georges.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list