Simplexmlconverter, ElementList with Element and Attribute
<p>I'm trying to parse an XML with retrofit but I'm stuck in an ElementList.</p>

<p>My XML looks like this:</p>

<pre><code>&lt;OBJECT&gt;
    &lt;LIST&gt;
       &lt;ITEM attribute="20160119"&gt;tue&lt;/ITEM&gt;
       &lt;ITEM attribute="20160118"&gt;wed&lt;/ITEM&gt;
       &lt;ITEM attribute="20160117"&gt;thu&lt;/ITEM&gt;
    &lt;/LIST&gt;
    &lt;OTHER&gt;some text&lt;/OTHER&gt;
&lt;/OBJECT&gt;
</code></pre>

<p>My models looks like this:</p>

<pre><code>@Root (name = "OBJECT", strict = false)
class Object {

    @Element (name = "OTHER", required = false)
    String other;
    @Element (name = "LIST", required = false)
    List list;

    //Constructor and getters

}

@Root (name = "LIST", strict = false)
class LIST {

    @ElementList (name = "ITEM", inline = true, required = false)
    private ArrayList&lt;Item&gt; items;

    //Constructor and getters

}

@Root (name = "ITEM", strict = false)
class Item {

    @Attribute (name = "attribute", required = false)
    String attribute;
    @Element (required = false)
    String value;

    //Constructor and getters

}
</code></pre>

<p>The <em>Item</em> objects in the list have the correct <em>attribute</em> but the <em>value</em> is null.</p>

<p>Any ideas?
Thank you.</p>