title: Retrofit with XML - Element does not have a match in class
body: <p>I'm using <code>SimpleXmlConverterFactory</code> with Retrofit2. Below is the sample response i'm trying to parse:</p>
  
  <pre><code>&lt;entries timestamp="1513178530.8394"&gt;
   &lt;entry id="2" date="20170104"&gt;
     &lt;fruits&gt;
        &lt;fruit type="apple" count="16"/&gt;
        &lt;fruit type="banana" count="12"/&gt;
        &lt;fruit type="cerry" count="5"/&gt;
        &lt;fruit type="lemon" count="2"/&gt;
        &lt;fruit type="orange" count="2"/&gt;
        &lt;fruit type="pear" count="0"/&gt;
        &lt;fruit type="pineapple" count="2"/&gt;
     &lt;/fruits&gt;
   &lt;/entry&gt;
  &lt;entry id="21" date="20170306"&gt;
     &lt;fruits&gt;
        &lt;fruit type="pear" count="1"/&gt;
        &lt;fruit type="orange" count="3"/&gt;
        &lt;fruit type="banana" count="1"/&gt;
        &lt;fruit type="cerry" count="1"/&gt;
        &lt;fruit type="apple" count="2"/&gt;
     &lt;/fruits&gt;
   &lt;/entry&gt;
  &lt;/entries&gt;
  </code></pre>
  
  <p>Now i'm using the following class to parse:</p>
  
  <pre><code>@Root(name = "entries")
  public class Entries {
      @Attribute(name = "timestamp")
      private String timestamp;
      @ElementList(name = "entry")
      private List&lt;EntryLog&gt; entry;
  }
  
  @Root(name = "entry")
  class Entry {
      @Element(name = "fruits",required = false)
      private Fruits fruits;
  }
  
  @Root(name = "fruits")
  class Fruits{
      @ElementList(name = "fruit")
      private List&lt;FruitItem&gt; fruit;
  }
  
  @Root(name = "fruit")
  class Fruit {
      @Attribute(name = "type")
      private String type;
      @Attribute(name = "count")
      private int count;
  }
  </code></pre>
  
  <p>I can't seem to get it work, the error says:</p>
  
  <blockquote>
    <p>org.simpleframework.xml.core.ElementException: Element 'fruit' does
    not have a match in class
    com.github.irshulx.fruitdiary.apps.main.model.EntryLog at line -1</p>
  </blockquote>
  
  <p>This error doesn't make sense. Because <code>fruit</code> does not belong in <code>EntryLog</code>.</p>
  
  <p>Any helps is much appreciated.</p>