title: Error with XSD validation: "cvc-elt.1: Cannot find the declaration of element 'xs:schema'"
body: <p>I am trying to use the Maven XML plugin to validate my xml against a schema but I keep having an error saying:</p>
  
  <blockquote>
    <p>cvc-elt.1: Cannot find the declaration of element 'xs:schema'.</p>
  </blockquote>
  
  <p>I guess it has to deal with my namespaces declaration, so here they are:</p>
  
  <p>In my XSD:</p>
  
  <pre><code>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns="http://www.myurl.com/schemas" 
    targetNamespace="http://www.myurl.com/schemas" 
    elementFormDefault="qualified" version="1.0"&gt;
  </code></pre>
  
  <p>In my XML:</p>
  
  <pre><code>&lt;myTag xmlns="http://www.myurl.com/schemas"&gt;
  </code></pre>
  
  <p>What is wrong with those declarations? What do I need to modify?</p>
  
  <p>Thanks for your help.</p>