title: the root element of the document is not <xsd:schema>
body: <p>I have a file named jvxml-implementation-0-7.xsd in my project. </p>
  
  <p>The contents of the file are </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsi:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema"
   xmlns="http://www.jvoicexml.org/xsd/jvxml-implementation-0-7.xsd"
     xmlns:tns="http://www.example.org/jvxml-implementation"    
  xmlns:beans="http://www.springframework.org/schema/beans"
    elementFormDefault="qualified"&gt;
    &lt;xsi:import namespace="http://www.springframework.org/schema/beans"
      schemaLocation="spring-beans-2.0.xsd" /&gt;
    &lt;xsi:element name="implementation"&gt;
      &lt;xsi:annotation&gt;
        &lt;xsi:documentation&gt;
      Implementation platform for JVoiceXML
    &lt;/xsi:documentation&gt;
  &lt;/xsi:annotation&gt;
  &lt;xsi:complexType&gt;
    &lt;xsi:sequence minOccurs="0" maxOccurs="unbounded"&gt;
      &lt;xsi:element name="repository" type="xsi:string"
        minOccurs="0" maxOccurs="1"&gt;
        &lt;xsi:annotation&gt;
          &lt;xsi:documentation&gt;
            The name of the loader repository.
          &lt;/xsi:documentation&gt;
        &lt;/xsi:annotation&gt;
      &lt;/xsi:element&gt;
      &lt;xsi:element name="classpath" type="xsi:string"
        minOccurs="0" maxOccurs="unbounded"&gt;
        &lt;xsi:annotation&gt;
          &lt;xsi:documentation&gt;
            Entry to be added to the CLASSPATH when
            loading this implementation platform^M
          &lt;/xsi:documentation&gt;
        &lt;/xsi:annotation&gt;
      &lt;/xsi:element&gt;
      &lt;xsi:element ref="beans:bean" minOccurs="1"
        maxOccurs="unbounded"&gt;
        &lt;xsi:annotation&gt;
          &lt;xsi:documentation&gt;Spring bean configuration
          &lt;/xsi:documentation&gt;
        &lt;/xsi:annotation&gt;
      &lt;/xsi:element&gt;
    &lt;/xsi:sequence&gt;
  &lt;/xsi:complexType&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>But when it is being loaded such an error occurs.</p>
  
  <pre><code>org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'jvxml-implementation-0-7.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.
  </code></pre>
  
  <p>I have changed the permission and put the file where it is suppoesed to be. So I am left with the third error. </p>
  
  <p>Please give me an insight on how to deal with it. </p>
  
  <p>Regards.</p>