diff --git a/Lib/xml/dom/pulldom.py b/Lib/xml/dom/pulldom.py index 1f7c6997514..ae8ea1cafe9 100644 --- a/Lib/xml/dom/pulldom.py +++ b/Lib/xml/dom/pulldom.py @@ -2,7 +2,7 @@ import types import string import sys -from xml.sax import ExpatParser +import xml.sax #todo: SAX2/namespace handling @@ -166,7 +166,7 @@ def getEvent( self ): def _getParser(): - return ExpatParser() + return xml.sax.make_parser() default_bufsize=(2**14)-20 # FIXME: move into sax package for common usage