We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b30ba commit b790352Copy full SHA for b790352
src/modelspec/utils.py
@@ -92,8 +92,6 @@ def load_xml(filename: str):
92
removed_id = handle_xml_dict_id(data)
93
94
# Values are returned as strings after conversion, this corrects them to their actual values
95
- # converted_to_actual_val = convert_xml_dict_values(removed_id)
96
-
97
return convert_xml_dict_values(removed_id)
98
99
@@ -272,7 +270,7 @@ def build_xml_element(data, parent=None):
272
270
if hasattr(data, "xmlns_url"):
273
271
parent.set("xmlns:xsi", data.xmlns_url)
274
if hasattr(data, "xmlns_loc"):
275
- parent.set("xsi:schemaLocation", str(data.xmlns_loc + " " + data.xmln_loc_2))
+ parent.set("xsi:schemaLocation", str(data.xmlns_loc + "\n" + data.xmln_loc_2))
276
return parent
277
278
0 commit comments