From ad90c6d3a7c489afd1f3c4288fbeac754fd7c5b1 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Mon, 9 Oct 2023 18:09:48 +0200 Subject: [PATCH] Stash Annotations before parsing Item in ItemScheme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …in addition to the Name and Description. --- sdmx/reader/xml/v21.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdmx/reader/xml/v21.py b/sdmx/reader/xml/v21.py index 4af610deb..a71fcdf69 100644 --- a/sdmx/reader/xml/v21.py +++ b/sdmx/reader/xml/v21.py @@ -956,7 +956,7 @@ def _item_start(reader, elem): # No child elements; stash() anyway, but it will be a no-op pass - reader.stash("Name", "Description") + reader.stash(model.Annotation, "Name", "Description") @end(