Puzzling Android xmlns error
<p>I have come across code like this in many maps examples:</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity" &gt;

    &lt;fragment
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/map"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        class="com.google.android.gms.maps.SupportMapFragment" /&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p>However, for them all, it goes that I get error</p>

<blockquote>
  <p>Description   Resource    Path    Location    Type Unexpected namespace prefix
  "xmlns" found for tag
  fragment  activity_msmap.xml  /example/res/layout line 8  Android Lint
  Problem</p>
</blockquote>

<p>At line</p>

<pre><code>&lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
</code></pre>

<p>So... What is going on here? I see it in examples everywhere, but it causes error in my  Eclipse/Android? Also, why repeat the same xml namespace when it is also defined in the parent element?</p>
