Lines Matching full:expat
7 from xml.parsers import expat
15 self.parser = expat.ParserCreate(namespace_separator='!')
136 parser = expat.ParserCreate(namespace_separator='!')
165 parser = expat.ParserCreate(namespace_separator='!')
194 parser = expat.ParserCreate(namespace_separator='!')
221 # Issue 4877: expat.ParseFile causes segfault on a closed file.
225 parser = expat.ParserCreate()
236 expat.ParserCreate()
237 expat.ParserCreate(namespace_separator=None)
238 expat.ParserCreate(namespace_separator=' ')
242 expat.ParserCreate(namespace_separator=42)
249 expat.ParserCreate(namespace_separator='too long')
264 expat.ParserCreate(namespace_separator='') # too short
270 p = expat.ParserCreate()
287 self.parser = expat.ParserCreate()
318 parser = expat.ParserCreate()
329 # XXX This test exposes more detail of Expat's text chunking than we
385 parser = expat.ParserCreate()
417 self.parser = expat.ParserCreate()
442 parser = expat.ParserCreate()
459 parser = expat.ParserCreate()
471 parser = expat.ParserCreate()
495 parser = expat.ParserCreate()
531 parser = expat.ParserCreate()
543 parser = expat.ParserCreate()
559 parser = expat.ParserCreate()
575 parser = expat.ParserCreate()
579 except expat.ExpatError as e:
584 parser = expat.ParserCreate()
588 except expat.ExpatError as e:
593 Tests for the UseForeignDTD method of expat parser objects.
606 parser = expat.ParserCreate()
608 parser.SetParamEntityParsing(expat.XML_PARAM_ENTITY_PARSING_ALWAYS)
616 parser = expat.ParserCreate()
618 parser.SetParamEntityParsing(expat.XML_PARAM_ENTITY_PARSING_ALWAYS)
634 parser = expat.ParserCreate()
636 parser.SetParamEntityParsing(expat.XML_PARAM_ENTITY_PARSING_ALWAYS)