title: Schemas validity error : Element No matching global declaration available for the validation root
body: <p>I'm creating an XSD for validating a XML, but it gives me the following validation error:</p>
  
  <pre><code>$ xmllint --noout --schema imoveis.xsd imoveis.xml 
  imoveis.xml:2: element alugueis: Schemas validity error : Element '{http://www.w3.org/2001/XMLSchema-instance}alugueis': No matching global declaration available for the validation root.
  imoveis.xml fails to validate
  </code></pre>
  
  <p>Not sure what I'm forgetting.</p>
  
  <p>Here is my <strong>XML</strong>:</p>
  
  <pre><code>&lt;alugueis xmlns="http://www.w3.org/2001/XMLSchema-instance"
            noNamespaceSchemaLocation="imoveis.xsd"
            mes="outubro" ano="2012"&gt;
  </code></pre>
  
  <p><a href="https://gist.github.com/paulodiovani/eb287e24de7be99a2263" rel="noreferrer">https://gist.github.com/paulodiovani/eb287e24de7be99a2263</a></p>
  
  <p>And here my validating <strong>XSD</strong>:</p>
  
  <pre><code>&lt;schema xmlns="http://www.w3.org/2001/XMLSchema"
          targetNamespace="simulado"
          xmlns:doc="simulado"
          elementFormDefault="qualified"&gt;
  </code></pre>
  
  <p><a href="https://gist.github.com/paulodiovani/b00c682cdd4d8e1b8d7f" rel="noreferrer">https://gist.github.com/paulodiovani/b00c682cdd4d8e1b8d7f</a></p>