title: Eclipse IDE with Android - exceptions while opening XML files for the first time
body: <p>I recently bought a new computer and am now setting up the tools required for Android application development.  I have previously installed the tools on other computers with no problem.</p>
  
  <p>I find now after everything is ready for developing, that when I open an XML file for editing inside Eclipse, I receive an error:
  <img src="https://i.stack.imgur.com/aa0pq.png" alt="error image"></p>
  
  <p>If i close the tab for this XML file and then re-open it, i can edit it as expected.  this happens for all XML files in my project.  first time opening it there is an error, second time it is working normally.</p>
  
  <p>To troubleshoot a little bit before posting here, i attempting to install different versions of eclipse. 3.4, 3.5, 3.6, all encountering the same error.  I even tried installing the tools on different computers with different operating systems: windows 7 and mac os x.</p>
  
  <p>I tried clearing the .metadata folder in my workspace in hopes it was some weird eclipse settings that got out of wack, no luck.</p>
  
  <p>Also, after successfully opening an XML file, my editor looks like this:
  <img src="https://i.stack.imgur.com/cj1aK.png" alt="enter image description here"></p>
  
  <p>I cannot seem to view my layout in its graphical form even while in the Graphical Layout tab.</p>
  
  <p><strong>My question:</strong>
  How can I edit my XML files with no fuss?</p>
  
  <ul>
  <li>I want the files to be opened as you would expect, and not run into these exception errors.</li>
  <li>I also want to have to ability to view the Graphical Layout of my layout files.</li>
  </ul>