Merge pull request #1022 from subho007/patch-1

[bugfix] Remove spaces from nsmap
This commit is contained in:
erev0s 2024-03-27 18:05:44 +02:00 committed by GitHub
commit 30fdb638e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -728,7 +728,7 @@ class AXMLParser:
# Solve 2) & 4) by not including # Solve 2) & 4) by not including
if s_uri != "" and s_prefix != "": if s_uri != "" and s_prefix != "":
# solve 1) by using the last one in the list # solve 1) by using the last one in the list
NSMAP[s_prefix] = s_uri NSMAP[s_prefix] = s_uri.strip()
return NSMAP return NSMAP