title: Problem validating XML against XSD with Eclipse/ADT - no "Validate" context menu entry
body: <p>Im trying to get Eclipse to validate an XML file I've created against a schema I've also created but it's not working, I don't have a "Validate" entry in the context menu.</p>
  
  <p>I'm using Eclipse 3.6.2 with ADT 10.0.1 and in Help -> About -> Installation details, Plug-ins tab I have Eclipse XML Editors and Tools version 1.1.103.</p>
  
  <p>According to what I've found on both Eclipse's website and other questions on SO I should be able to right click on the XML file and click on "Validate". My context menu has no "Validate" entry and everything I find assumes it's there. I've gone into Eclipse Preferences -> XML -> XML Files -> Validation and ticked "Enable markup validation" but that hasn't changed anything..</p>
  
  <p>Also changing the noNamespaceSchemaLocation value to something incorrect doesn't give me any errors when saving the XML file. I have no idea what I'm missing here</p>
  
  <p>The idea was for the properties pane in Eclipse to show a dropdown for the element "name" attribute showing the valid values, which I'm hoping will happen once I can validate against the XSD.</p>
  
  <h2>Similar questions</h2>
  
  <p><a href="https://stackoverflow.com/questions/4194129/eclipse-validate-xml-with-xsd">eclipse: validate xml with xsd</a> just like me, no solution found even though the answer is accepted. Comments mention Web Tools Platform, which is installed.</p>
  
  <p><a href="https://stackoverflow.com/questions/4359239/xml-validation-and-auto-complete-in-eclipse">XML validation and auto-complete in Eclipse</a> I have done what the accepted answer mentions</p>
  
  <h2>Files</h2>
  
  <p>They're probably terrible, I haven't done much XML before.</p>
  
  <p><code>res/xml/magicks.xml</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;magicks xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="magicksschema.xsd"&gt;
  
  &lt;magick name="Haste" description="Increases the wizard's movement speed by up to double for 10 seconds."&gt;
      &lt;combination&gt;
          &lt;element name="Lightning"/&gt;
          &lt;element name="Arcane" /&gt;
          &lt;element name="Fire" /&gt;
      &lt;/combination&gt;
  &lt;/magick&gt;
  &lt;/magicks&gt;
  </code></pre>
  
  <p><code>res/xml/magicksschema.xsd</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified"&gt;
  &lt;xs:element name="magicks"&gt;
  &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
          &lt;xs:element name="magick" maxOccurs="unbounded"&gt;
              &lt;xs:complexType&gt;
                  &lt;xs:sequence&gt;
                      &lt;xs:element name="combination"&gt;
                          &lt;xs:complexType&gt;
                              &lt;xs:sequence&gt;
                                  &lt;xs:element name="element" maxOccurs="unbounded"&gt;
                                      &lt;xs:complexType&gt;
                                          &lt;xs:attribute name="name"&gt;
                                              &lt;xs:simpleType&gt;
                                                  &lt;xs:restriction base="xs:string"&gt;
                                                      &lt;xs:enumeration value="Water" /&gt;
                                                      &lt;xs:enumeration value="Life" /&gt;
                                                      &lt;xs:enumeration value="Shield" /&gt;
                                                      &lt;xs:enumeration value="Cold" /&gt;
                                                      &lt;xs:enumeration value="Lightning" /&gt;
                                                      &lt;xs:enumeration value="Arcane" /&gt;
                                                      &lt;xs:enumeration value="Earth" /&gt;
                                                      &lt;xs:enumeration value="Fire" /&gt;
                                                  &lt;/xs:restriction&gt;
                                              &lt;/xs:simpleType&gt;
                                          &lt;/xs:attribute&gt;
                                      &lt;/xs:complexType&gt;
                                  &lt;/xs:element&gt;
                              &lt;/xs:sequence&gt;
                          &lt;/xs:complexType&gt;
                      &lt;/xs:element&gt;
                  &lt;/xs:sequence&gt;
                  &lt;xs:attribute name="name" type="xs:string" /&gt;
                  &lt;xs:attribute name="description" type="xs:string" /&gt;
              &lt;/xs:complexType&gt;
          &lt;/xs:element&gt;
      &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  </code></pre>
  
  <p></p>
  
  <h2>Edit</h2>
  
  <ul>
  <li>Updated schema to @Per Normann's version</li>
  </ul>