title: Spring Framework: The document type declaration for root element type "beans" must end with '>'
body: <p>This is my spring.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE beans SYSTEM "http://www.springframework.org/dtd/spring-beans-2.0.dtd" PUBLIC "-//SPRING//DTD BEAN 2.0//EN"&gt;
  &lt;beans&gt;
      &lt;bean id="data" class="com.blah.tests.DataProviderClass" /&gt;
      &lt;bean id="wdcm" class="com.blah.tests.WebDriverCustomMethods"/&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>When I run my application test, this is the error I get:</p>
  
  <pre><code>    Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
   Line 2 in XML document from class path resource [spring.xml] is invalid; nested exception is org.xml.sax.SAXParseException;
   lineNumber: 2; columnNumber: 82; The document type declaration for root element type "beans" must end with '&gt;'.
  </code></pre>
  
  <p>Im using Spring 3.0.7</p>