class documentation

class DefusedExpatParser(_ExpatParser):

View In Hierarchy

An expat parser hardened against XML bomb attacks.

Forbid DTDs, external entity references

Method __init__ Undocumented
Method entity​_decl Undocumented
Method external​_entity​_ref​_handler Undocumented
Method reset Undocumented
Method start​_doctype​_decl Undocumented
Method unparsed​_entity​_decl Undocumented
def __init__(self, *args, **kwargs):

Undocumented

def entity_decl(self, name, is_parameter_entity, value, base, sysid, pubid, notation_name):

Undocumented

def external_entity_ref_handler(self, context, base, sysid, pubid):

Undocumented

def reset(self):

Undocumented

def start_doctype_decl(self, name, sysid, pubid, has_internal_subset):

Undocumented

def unparsed_entity_decl(self, name, base, sysid, pubid, notation_name):

Undocumented