title: Android: error: Error parsing XML: not well-formed (invalid token)
body: <p>There's an error in my activity_main.xml on line 13 (Wich you can see below). It says "Error parsing XML: not well-formed(invalid token)". In addition to that my R.java has killed itself. I've found ways to fix it, but they won't work (At least I think it's because of that) until this error is fixed. <strong>Thanks for any help</strong>. Just by the way I'm following the tutorial on <a href="http://www.javacodegeeks.com/2013/06/android-listview-tutorial-and-basic-example.html" rel="nofollow">Javacodegeeks.com</a></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:mynamespace="http://schemas.android.com/apk/res/com.Learning.learning"
              xmlns:tools="http://schemas.android.com/tools"
              mynamespace:layout_width="success"
              mynamespace:orientation="vertical"
              mynamespace:layout_height="success"&gt;
  
              &lt;ListView   android:id="@+id/listView"
                          android:layout_height="match_parent"
                          android:layout_width="match_parent"/&gt;
  
                      List&lt;Map&lt;String&gt;&gt; planetsList = new ArrayList&lt;Map&lt;String,String&gt;&gt;() /&gt;
  
                          private void initList() {
                              //we populate them Planets
  
                              planetsList.add(createPlanet("planet", "Mercury"));
                              planetsList.add(createPlanet("planet", "Venus"));
                              planetsList.add(createPlanet("planet", "Earth"));
                              planetsList.add(createPlanet("planet", "Mars"));
                              planetsList.add(createPlanet("planet", "Jupiter"));
                              planetsList.add(createPlanet("planet", "Saturn"));
                              planetsList.add(createPlanet("planet", "Uranus"));
                              planetsList.add(createPlanet("planet", "Neptune"));
                          }
  
                          private HashMap&lt;String, String&gt; createPlanet(String key, String name) {
                              HashMap&lt;String, String&gt; planet = new HashMap&lt;String, String&gt;();
                              planet.put(key, name);
  
                              return planet;
                          }
  
                          // This is a simple adapter that accepts as parameter
                          // Context
                          // Data List
                          // The row layout that is used during the row creation
                          // The keys used to retrieve the data
                          // The View id used to show the data. The number and the view must match
                          simpleAdpt = new SimpleAdapter(this, planetsList, android.R.layout.simple_list_item_1, new String []
                          {"planet"}, new int[] {android.R.id.text1});
  
                      &lt;/ListView&gt;
  </code></pre>
  
  <p></p>