title: problem with simpleframework xml and @ElementList for kml on android
body: <p>I can't seem to get to the bottom of this - any help much appreciated!</p>
  
  <p>I am using simple-xml-2.3.2.jar with android v10</p>
  
  <p>So I have this xml (kml):</p>
  
  <pre><code>&lt;kml xmlns="http://www.opengis.net/kml/2.2"&gt;
  &lt;Document&gt;
  &lt;Placemark&gt;
  &lt;name&gt;Admissions&lt;/name&gt;
  &lt;description&gt;60.59&lt;/description&gt;
  &lt;Polygon&gt;&lt;tessellate&gt;1&lt;/tessellate&gt;&lt;outerBoundaryIs&gt;
  &lt;LinearRing&gt;
  &lt;coordinates&gt;-1.1949914,52.93765,0 -1.1946743,52.937794,0 -1.1946228,52.93776,0 -1.1936871,52.938156,0 -1.19373,52.93821,0 -1.1933881,52.93836,0 -1.1935841,52.938503,0 -1.19424,52.938213,0 -1.1951548,52.93781,0 -1.1949914,52.93765,0&lt;/coordinates&gt;
  &lt;/LinearRing&gt;
  &lt;/outerBoundaryIs&gt;&lt;/Polygon&gt;
  &lt;/Placemark&gt;
  &lt;/Document&gt;
  &lt;/kml&gt;
  </code></pre>
  
  <p>And I have made these classes for deserializing it:</p>
  
  <p>KML.java</p>
  
  <pre><code>import org.simpleframework.xml.Element;
  import org.simpleframework.xml.Root;
  
  @Root(name="kml",strict=false)
  public class KML {
      @Element(required=true,name="Document")
      public Document document;
  }
  </code></pre>
  
  <p>Document.java</p>
  
  <pre><code>import java.util.List;
  
  import org.simpleframework.xml.Element;
  import org.simpleframework.xml.ElementList;
  
  @Element
  public class Document {
      @ElementList(required=false,inline=true)
      public List&lt;Placemark&gt; placemarkList;
  }
  </code></pre>
  
  <p>Placemark.java</p>
  
  <pre><code>import java.util.List;
  
  import org.simpleframework.xml.Element;
  import org.simpleframework.xml.ElementList;
  
  @Element
  public class Placemark {
      @Element(required=false)
      public String name;
  
      @Element(required=false)
      public String description;
  
      @Element(required=false,name="Polygon")
      public Polygon polygon;
  }
  </code></pre>
  
  <p>etc</p>
  
  <p>If I run that I get: org.simpleframework.xml.core.ElementException: Element 'Placemark' does not have a match at line -1</p>
  
  <p>If I replace the @ElementList in Document.java with an @Element then that works, but of course only where there is one child Placemark elements!</p>
  
  <p>Thanks a lot,
  Dave</p>