This is the same as the DefaultHandler, but doesn’t inhibit expansion of internal entities. The entity reference will not be passed to the default handler.
xml.parsers.expat/xmlparser.DefaultHandlerExpand
xmlparser.DefaultHandlerExpand