title: XML schema restriction pattern for not allowing empty strings
body: <p>In my XML schema I have element of type string that I don't want to be empty (if it contains white-spaces etc I also consider it empty)</p>
  
  <p>I applied restrinction I found at <a href="http://blogs.msdn.com/b/neerajag/archive/2005/08/12/450723.aspx" rel="noreferrer">http://blogs.msdn.com/b/neerajag/archive/2005/08/12/450723.aspx</a></p>
  
  <pre><code>&lt;xsd:restriction base = "xsd:string"&gt;
    &lt;xs:minLength value="1" /&gt;
    &lt;xs:pattern value=".*[^\s].*" /&gt;
  &lt;/xsd:restriction&gt;
  </code></pre>
  
  <p>What exactly does that pattern do and will do what I expect?</p>