title: how convert xml to object on java spring-boot
body: <p>hello I'm trying to convert xml with number of objects and I get an
  error message : The markup in the document following the root element must be well-formed.</p>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;string xmlns="test.example.com"&gt;
    &lt;Item&gt;
      &lt;ItemKey&gt;1111&lt;/ItemKey&gt;
      &lt;Start&gt;2/10/2017&lt;/Start&gt;
      &lt;customNumber&gt;12&lt;/customNumber&gt;
      &lt;End&gt;2/10/2018&lt;/End&gt;
      &lt;Account&gt;2221111&lt;/Account&gt;
      &lt;Name&gt;John&lt;/Name&gt;
      &lt;Note&gt;GOOD&lt;/Note&gt;
      &lt;CodeNo&gt;4444-1&lt;/CodeNo&gt;
      &lt;Source&gt;www.cnn.com&lt;/Source&gt;
    &lt;/Item&gt;
    &lt;Item&gt;
      &lt;ItemKey&gt;2222&lt;/ItemKey&gt;
      &lt;Start&gt;2/10/2017&lt;/Start&gt;
      &lt;customNumber&gt;75&lt;/customNumber&gt;
      &lt;End&gt;2/10/2018&lt;/End&gt;
      &lt;Account&gt;3333111&lt;/Account&gt;
      &lt;Name&gt;Smith&lt;/Name&gt;
      &lt;Note&gt;NOT GOOD&lt;/Note&gt;
      &lt;CodeNo&gt;4444-2&lt;/CodeNo&gt;
      &lt;Source&gt;www.fox.com&lt;/Source&gt;
    &lt;/Item&gt;
  &lt;/string&gt;
  </code></pre>
  
  <p>Model Class:</p>
  
  <pre><code>package example.models;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlRootElement;
  
  @XmlRootElement(name = "Item")
  public class Model {
  
  private String CodeNo;
  
  private String ItemKey;
  
  private String Start;
  
  private String End;
  
  private String Account;
  
  private String Name;
  
  private String Note;
  
  ...(gets and sets)
  </code></pre>
  
  <p>main Code:</p>
  
  <pre><code>StringReader reader = new StringReader(response);
  String response = restTemplate.getForObject(url, String.class);
  ...
  
   JAXBContext jaxbContext = JAXBContext.newInstance(Model.class);
              Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
              Model recordes = (Model) unmarshaller.unmarshal(reader);
  </code></pre>
  
  <p>unmarshal exception:
   The markup in the document following the root element must be well-formed.</p>
  
  <p>xml with only one item the code work.</p>
  
  <p>what I missing and need to do to get list of element (items) object without error ?</p>