title: Have to clean entire Android project in Eclipse every time an XML file is edited
body: <p>I am having an annoying problem. I am using a Fragment in my Android project, and it's causing me endless pain, as I have to clean the project every single time I edit my main xml file. This is how it looks:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
      &lt;fragment xmlns:map="http://schemas.android.com/apk/res-auto"
          android:id="@+id/map"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          class="com.google.android.gms.maps.MapFragment"
          map:uiRotateGestures="false"
          map:uiScrollGestures="false"
          map:uiZoomControls="false"
          map:uiZoomGestures="false" 
          map:cameraZoom="18"
          /&gt;
      &lt;ScrollView 
          android:id="@+id/scroller"
          android:layout_width="250dp"
          android:layout_height="100dp"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:background="@android:color/white"&gt;
      &lt;TextView
          android:id="@+id/debug_text"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:textSize="10sp"
  
         /&gt;
      &lt;/ScrollView&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>And if I edit even one character of this file, all lines beginning with "map" get highlighted with red, and the fragment opening tag gets highlighted as well. The error I am getting is:</p>
  
  <pre><code>Unexpected namespace prefix "xmlns" found for tag fragment
  </code></pre>
  
  <p>And for the lines beginning with "map" the error is:</p>
  
  <pre><code>Unexpected namespace prefix "map" found for tag fragment
  </code></pre>
  
  <p>If I clean the project the problem goes away and I can build and run the project just fine, but as I am editing it a lot right now it is very very annoying. Could somebody help please?</p>