title: Can't read rss XML , with Simple XML and Retrofit
body: <p>I have searched a lot, but I can't assign my XML with My Classes and I take an Error from Retrofit when I am trying to Deserialize the XML. </p>
  
  <p>This is the XML that I call from my Interface ( only the first Item):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;rss version="2.0"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  &gt;
  &lt;channel&gt;
      &lt;title&gt;Flow&lt;/title&gt;
      &lt;atom:link href="http://flow.com/?feed=single_gallery_feed&amp;#038;paged=0" rel="self" type="application/rss+xml" /&gt;
      &lt;link&gt;http://flow.com&lt;/link&gt;
      &lt;description&gt;&lt;/description&gt;
      &lt;lastBuildDate&gt;Mon, 02 Nov 2015 17:07:54 +0000&lt;/lastBuildDate&gt;
      &lt;language&gt;en-US&lt;/language&gt;
      &lt;sy:updatePeriod&gt;hourly&lt;/sy:updatePeriod&gt;
      &lt;sy:updateFrequency&gt;1&lt;/sy:updateFrequency&gt;
      &lt;generator&gt;http://wordpress.org/?v=4.3.1&lt;/generator&gt;
      &lt;item&gt;
           &lt;title&gt;Pocket Rocket Power&lt;/title&gt;
           &lt;link&gt;http://flow.com/portfolio/pocket-rocket-power/&lt;/link&gt;
           &lt;comments&gt;http://flow.com/portfolio/pocket-rocket-power/#comments&lt;/comments&gt;
           &lt;pubDate&gt;Mon, 02 Nov 2015 17:06:17 +0000&lt;/pubDate&gt;
           &lt;dc:creator&gt;&lt;/dc:creator&gt;
           &lt;category&gt;&lt;![CDATA[Accessories]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Car Accessories]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Cool Gadgets]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Crowdfunding Projects]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Gift Ideas $20 - $50]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[iPad Accessories]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[iPhone 4/4s]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[iPhone 5/5s]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[iPhone 6/6s Accessories]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[iPhone Accessories]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Made in USA]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Power Banks]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Recommended]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Samsung Accessories]]&gt;&lt;/category&gt;
           &lt;category&gt;&lt;![CDATA[Travel Must Haves]]&gt;&lt;/category&gt;
           &lt;guid isPermaLink="false"&gt;http://flow.com/?p=81755&lt;/guid&gt;
           &lt;content:encoded&gt;&lt;![CDATA[&lt;img class="gf-rss-single-image" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-01.jpeg" /&gt;&lt;img class="gf-rss-single-image" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-02.jpeg" /&gt;&lt;img class="gf-rss-single-image" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-03.jpeg" /&gt;&lt;img class="gf-rss-single-image" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-04.jpeg" /&gt;&lt;img class="gf-rss-single-image" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-05.jpeg" /&gt;&lt;img class="gf-rss-single-image" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-06.jpeg" /&gt;&lt;div class="gf-rss-price"&gt;Price: $&lt;span class="gf-price"&gt;25&lt;/span&gt;&lt;/div&gt;&lt;img width="1300" height="1000" src="http://cdn.flow.com/wp-content/uploads/2015/11/Pocket-Rocket-Power-03.jpeg" class="attachment-full wp-post-image" alt="Pocket Rocket Power 03" style="float:none; margin:0 0 15px; display:block;" /&gt;
        ]]&gt;&lt;/content:encoded&gt;
      &lt;slash:comments&gt;0&lt;/slash:comments&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>So I Use Asynchronous method to take the items with a Callback, This is the java Interface : </p>
  
  <pre><code>public interface ApiService {
  
  @GET("/?feed=single_gallery_feed")
  void getGadgets(@Query("paged")int page, Callback&lt;Channel&gt; gadgetsCallback);
   }
  </code></pre>
  
  <p>This is the Rest Client Class where the Interface is being generated:</p>
  
  <pre><code>public class RestClient {
  
  private ApiService apiService;
  
  public RestClient(){
      RestAdapter restAdapter = new RestAdapter.Builder()
              .setLogLevel(RestAdapter.LogLevel.FULL)
              .setClient(new OkClient(new OkHttpClient()))
              .setEndpoint("http://flow.com")
              .setConverter(new SimpleXMLConverter())
              .build();
  
      apiService = restAdapter.create(ApiService.class);
  }
  
  public ApiService getApiService(){
      return apiService;
  }
  }
  </code></pre>
  
  <p>Also , I have created some Model Classes to host the Tags from the XML , I omit Getters  :</p>
  
  <pre><code>@Root(name="rss", strict = false)
  public class Rss {
  
       @Element(name="channel")
       private Channel channel;
  
  }
  @Root(name = "item", strict = false)
  public class Item {
  
  @Element(name = "title")
  private String title;
  @Element(name = "link")
  private String link;
  @Element(name = "comments")
  private String comments;
  @Element(name = "pubDate")
  private String pubDate;
  }
  
  @Root(name="channel", strict = false)
  public class Channel  {
  
  @ElementList(name="item",inline = true)
  private ArrayList&lt;Item&gt; items;
  }
  </code></pre>
  
  <p>Finally I call the service in the <code>MainActivity</code>:</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  private ArrayList&lt;Item&gt; mList;
  private Button pagerButton;
  private int page = 0;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      pagerButton = (Button)findViewById(R.id.pager);
      pagerButton.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
  
              RestClient restClient = new RestClient();
              Callback&lt;Channel&gt; callback = new Callback&lt;Channel&gt;() {
                  @Override
                  public void success(Channel gadgets, Response response) {
                      mList = gadgets.getItems();
                  }
  
                  @Override
                  public void failure(RetrofitError error) {
                      Log.d("billy",error.getLocalizedMessage());
                  }
              };
              restClient.getApiService().getGadgets(page,callback);
                      page++;
          }
      });
  
      if(mList != null) {
          for(int i = 0; i &lt; mList.size();i++) {
              //mList = mItem.getGadgets();
              Log.d("billy", "Item : " + String.valueOf(i));
              Log.d("billy", "Title: " + mList.get(i).getTitle());
              Log.d("billy", "PubDate: " + mList.get(i).getPubDate());
              Log.d("billy", "ImageURL: " + mList.get(i).getLink());
               Log.d("billy","-------------------------------------------------------------------- ");
          }
      }
  
  }
  }
  </code></pre>
  
  <p>So, I take this error from Retrofit : </p>
  
  <blockquote>
    <p>org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=true, name=item, required=true, type=void) on field 'items' private java.util.ArrayList Model.Channel.items for class Model.Channel at line 9</p>
  </blockquote>
  
  <p>I have searched everywhere and I think that my Implementation is correct but I can't find the mistake, I have changed many times my Model classes and I have used POJO generators from the web , but again I can't fix this error. Please help! Thank you!</p>