MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / parse_xml_with_recovery

Function parse_xml_with_recovery

PosterAgent/tree_split_layout.py:10–13  ·  view source on GitHub ↗
(xml_file_path)

Source from the content-addressed store, hash-verified

8import matplotlib.patches as patches
9
10def parse_xml_with_recovery(xml_file_path):
11 parser = etree.XMLParser(recover=True)
12 tree = etree.parse(xml_file_path, parser)
13 return tree.getroot()
14
15def parse_poster_xml(xml_file):
16 """

Callers 2

parse_poster_xmlFunction · 0.70

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected