From c8bce2efb632b36bc7b417b4a65b0f8ffb91d79d Mon Sep 17 00:00:00 2001 From: Sonia Zorba <sonia.zorba@inaf.it> Date: Mon, 14 Dec 2020 14:09:48 +0100 Subject: [PATCH] Bugfix --- src/main/java/net/ivoa/xml/vospace/v2/Node.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/ivoa/xml/vospace/v2/Node.java b/src/main/java/net/ivoa/xml/vospace/v2/Node.java index b2809c9..277e12f 100644 --- a/src/main/java/net/ivoa/xml/vospace/v2/Node.java +++ b/src/main/java/net/ivoa/xml/vospace/v2/Node.java @@ -62,6 +62,8 @@ public class Node { // <edit> // Auto-generated class defined a PropertyList wrapper class. + @XmlElement(name = "property") + @XmlElementWrapper(name = "properties", required = false) protected List<Property> properties; // Used for generating missing type attribute for root node. For child nodes it is filled automatically. @@ -90,8 +92,6 @@ public class Node { protected String uri; // <edit> - @XmlElement(name = "property") - @XmlElementWrapper(name = "properties", required = false) public List<Property> getProperties() { if (properties == null) { properties = new ArrayList<>(); -- GitLab