Skip to content

Commit

Permalink
Ensure com:Annotations is written to SDMX-ML first
Browse files Browse the repository at this point in the history
Closes #210.
  • Loading branch information
khaeru committed Dec 12, 2024
1 parent 19c5d7c commit 9f7f8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdmx/writer/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def annotable(obj: common.AnnotableArtefact, *args, **kwargs) -> etree._Element:
# Write Annotations
e_anno = Element("com:Annotations", *[writer.recurse(a) for a in obj.annotations])
if len(e_anno):
args = args + (e_anno,)
args = (e_anno,) + args

try:
return Element(tag, *args, **kwargs)
Expand Down

0 comments on commit 9f7f8ae

Please sign in to comment.