Coverage for trimesh/exchange/common.py: 100%
1 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-07-31 23:55 +0000
« prev ^ index » next coverage.py v7.14.1, created at 2026-07-31 23:55 +0000
1"""
2trimesh.exchange.common
3-----------------------
5Helpers shared across exchange loaders.
6"""
8# lxml parser options shared across exchange loaders — disable entity
9# resolution, network access, and DTD loading, and keep libxml2 size guards
10XML_PARSER_OPTIONS = {
11 "resolve_entities": False,
12 "no_network": True,
13 "huge_tree": False,
14 "load_dtd": False,
15 "dtd_validation": False,
16 "attribute_defaults": False,
17 "recover": False,
18}