1
0
mirror of synced 2024-12-22 12:50:13 +01:00
This commit is contained in:
georg 2018-10-02 15:59:39 +00:00
parent 156e81fb4c
commit 5b606f939d
No known key found for this signature in database
GPG Key ID: 5AD75B414EA41667

View File

@ -19,7 +19,7 @@ def _parse_xml(full_path: str):
namespace_map = dict()
for _, (key, value) in ET.iterparse(full_path, ("start-ns", )):
# The ns[0-9]+ namespaces are reserved for interal usage, so
# The ns[0-9]+ namespaces are reserved for internal usage, so
# we have to use an other nomenclature.
if re.match('^ns[0-9]+$', key, re.I): # pragma: no cover
key = 'mat' + key[2:]