title: cvc-elt.1: Cannot find the declaration of element 'LinearLayout'
body: <p>I am using xml to define my UI for an Android app using Netbeans (7.1).  My main.xml looks like this...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/Layout01"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:paddingLeft="10dp"
      android:paddingRight="10dp"
      &gt;
  
      &lt;EditText
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/to (phone #)"
          /&gt;
  
      &lt;EditText
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/date"
          /&gt;
  
      &lt;EditText
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/subject"
          /&gt;
  
      &lt;EditText
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"
          android:gravity="top"
          android:hint="@string/event description"
          /&gt;
  
      &lt;Button
          android:layout_width="100dp"
          android:layout_height="wrap_content"
          android:layout_gravity="right"
          android:text="@string/send"
          /&gt;   
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When I attempt to validate my the xml (file) I receive "cvc-elt.1: Cannot find the declaration of element 'LinearLayout'".  Also, my Java class (MainActivity) now shows an error indicating that it can't find the R.Layout.main class.  I've searched the internet far and wide with no luck.  Can someone please help?  Thanks,</p>