title: Using JAXB XmlElementWrapper my list is always null
body: <p>I have this xml File:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;myXML modelVersion=&quot;1.1.0&quot;&gt;
    &lt;A&gt;
      &lt;B&gt;value&lt;/B&gt;
      &lt;C&gt;
        &lt;D&gt;
          &lt;E&gt;value&lt;/E&gt;
          &lt;E&gt;value&lt;/E&gt;
          &lt;E&gt;value&lt;/E&gt;
        &lt;/D&gt;
        &lt;D&gt;
          &lt;E&gt;value&lt;/E&gt;
          &lt;E&gt;value&lt;/E&gt;
          &lt;E&gt;value&lt;/E&gt;
        &lt;/D&gt;
        &lt;D&gt;
          &lt;E&gt;value&lt;/E&gt;
          &lt;E&gt;value&lt;/E&gt;
          &lt;E&gt;value&lt;/E&gt;
        &lt;/D&gt;
      &lt;/C&gt;
    &lt;/A&gt;
  &lt;/myXML&gt;
  </code></pre>
  <p>So I have many D-Elements. I want to have a <code>List&lt;D&gt;</code> with D-Elements. I have this Classes:</p>
  <pre><code>@XmlRootElement(name = &quot;myXml&quot;)
  @XmlAccessorType(XmlAccessType.PROPERTY)
  public class MyXml {
  
      private A a;
      
      @XmlElement(name = &quot;A&quot;)
      public A getA() {
          return a;
      }
  }
  </code></pre>
  <p>Class A:</p>
  <pre><code>@XmlRootElement(name = &quot;A&quot;)
  @XmlAccessorType(XmlAccessType.PROPERTY)
  public class A {
  
      private String b;
      
      
      @XmlElementWrapper(name = &quot;C&quot;)
      @XmlElement(name = &quot;D&quot;)
      List&lt;D&gt; Ds;
      
  
      public List&lt;D&gt; getDs() {
          return Ds;
      }
      
      
      
      @XmlElement(name=&quot;B&quot;)
      public String getB() {
          return b;
      }   
  }
  </code></pre>
  <p>Class D:</p>
  <pre><code>@XmlRootElement(name = &quot;D&quot;)
  @XmlAccessorType(XmlAccessType.FIELD)
  public class D {
  
      
      private String e1;
      private String e2;
      private String e3;
      
      public String getE1() {
          return e1;
      }
      
      public String getE2() {
          return e2;
      }
      
      public String getE3() {
          return e3;
      }   
      
  }
  </code></pre>
  <p>So I use the XmlElementWrapper in my Class A to wrap C. C contains many D-Elements.
  Whenever I initialize an Object of A, I can access the String b pretty well. But my <code>List&lt;D&gt; Ds</code> is always null, whatever I do.</p>