title: Spring JDO configuration parsing error
body: <p>I have a spring test case that annotated as following</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations = {"classpath:conf/allocadia-base.xml", "classpath:META-INF/jdoconfig.xml"})
  </code></pre>
  
  <p>my jdoconfig is </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig"&gt;
  </code></pre>
  
  <p>when I run the test I get</p>
  
  <pre><code>java.lang.IllegalStateException: Failed to load ApplicationContext 
  .  
  . 
  .  
  Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from class path resource [META-INF/jdoconfig.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'jdoconfig'.
  </code></pre>
  
  <p>if I changed jdoconfig to </p>
  
  <pre><code>&lt;jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig http://java.sun.com/xml/ns/jdo/jdoconfig_2_3.xsd"&gt;
  </code></pre>
  
  <p>the error is </p>
  
  <blockquote>
    <p>Caused by:
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
    Configuration problem: Unable to locate Spring NamespaceHandler for
    XML schema namespace [http://java.sun.com/xml/ns/jdo/jdoconfig]
    Offending resource: class path resource [META-INF/jdoconfig.xml]</p>
  </blockquote>
  
  <p>I use the latest spring 3.2 and JDO 2.3-e</p>
  
  <p>the application works fine when I deploy it to tomcat I'm just getting this error when trying to run the test</p>