title: "Tag <Activity > attribute name has invalid character ' '. " Android Manifest
body: <p>I am getting the error "Tag  attribute name has invalid character ' '. " in the Android Manifest, while there is no obviously invalid character. Here is the code:</p>
  
  <pre><code>&lt;activity
          android:name="Quiz 31"
          android:configChanges="orientation|keyboardHidden"
          android:label="Quiz 31"
          android:screenOrientation="portrait"
          android:theme="@android:style/Theme.NoTitleBar" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.SoulSlayerAbad.AMQ.QUIZ31" /&gt;
  
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>As you can see, no ' ' character in the code. Does anyone know why this is happening? One thing to note is that I generated this piece of code using a few lines of Java run inside of Eclipse console. The code for that is:</p>
  
  <pre><code>        int Begin = 0, End = 0; 
      Scanner sc = new Scanner(System.in);
  
      String Text = " &lt;activity "+
              "android:name=\"Quiz "+Begin+"\" "+
              "android:configChanges=\"orientation|keyboardHidden\" "+
              "android:label=\"Quiz "+Begin+"\" "+
              "android:screenOrientation=\"portrait\" "+
              "android:theme=\"@android:style/Theme.NoTitleBar\" &gt; "+
              "&lt;intent-filter&gt; "+
                  "&lt;action android:name=\"com.SoulSlayerAbad.AMQ.QUIZ"+Begin+"\" /&gt; "+
  
                  "&lt;category android:name=\"android.intent.category.DEFAULT\" /&gt; "+
              "&lt;/intent-filter&gt; "+
          "&lt;/activity&gt; ";
  
      System.out.println("Begining:");
      Begin = sc.nextInt();
      System.out.println("End At:");
      End = sc.nextInt();
      while(Begin &lt;= End){
          System.out.println(Text);
          Begin++;
      }
  </code></pre>