title: Parse error in struts-config.xml file
body: <p>I am getting the following error in my struts-config.xml</p>
  
  <blockquote>SEVERE: Parse Error at line 6 column 16: Document root element "struts-config", must match DOCTYPE root "form-validation".
          org.xml.sax.SAXParseException; systemId: jndi:/localhost/SSH/WEB-INF/struts-config.xml; lineNumber: 6; columnNumber: 16; Document root element "struts-config", must match DOCTYPE root "form-validaton</blockquote>
  
  <p>Xml:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
          &lt;!DOCTYPE form-validation PUBLIC
                   "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.3.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd"&gt;  
          &lt;struts-config&gt;
          &lt;form-beans&gt;
          &lt;form-bean name="sform" type="org.apache.struts.action.DynaActionForm"&gt;
          &lt;form-property name="sid" type="java.lang.String"/&gt;
          &lt;/form-bean&gt;
          &lt;/form-beans&gt;
          &lt;global-exceptions/&gt;
          &lt;global-forwards/&gt;
          &lt;action-mappings&gt;
          &lt;action path="/sidSubmit" name="sform" 
          type="org.springframework.web.struts.DelegatingActionProxy" 
          scope="request" 
          input="/search.jsp"&gt;
          &lt;forward name="search" path="/search.jsp"/&gt;
          &lt;/action&gt;
          &lt;/action-mappings&gt;
          &lt;message-resources parameter="com.xxx.xxx.Application"&gt;&lt;/message-resources&gt;
          &lt;plug-in className="org.springframework.web.struts.ContextLoaderPlugIn"&gt;
          &lt;set-property property="contextConfigLocation" value="/WEB-INF/studentContext.xml"/&gt;
          &lt;/plug-in&gt;
          &lt;/struts-config&gt;
  </code></pre>