title: One or more resources have the target of 'head', but no 'head
body: <p>I write the following facelet <code>index.xhtml</code>:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:myCC="http://xmlns.jcp.org/jsf/composite/hui"
        xmlns:h="http://xmlns.jcp.org/jsf/html"&gt;
      &lt;head&gt;
  
          &lt;h:outputStylesheet name="css/centering.css"/&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div style="centerClass"&gt;
              &lt;mycc:logpass/&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When i'm getting content of this facelet from browser i have</p>
  
  <pre><code>One or more resources have the target of 'head', but no 'head' component has been defined within the view. 
  </code></pre>
  
  <p>And so html from console is following:</p>
  
  <pre><code>&lt;head&gt;
  
      &lt;style type="text/css"&gt;&lt;/style&gt;
      &lt;script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" async="" src="http://cdn.mxpnl.com/libs/mixpanel-2.1.min.js"&gt;&lt;/script&gt;
      &lt;style type="text/css"&gt;&lt;/style&gt;
  
  &lt;/head&gt;
  </code></pre>
  
  <p>But if i write</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:mycc="http://xmlns.jcp.org/jsf/composite/hui"
        xmlns:h="http://xmlns.jcp.org/jsf/html"&gt;
      &lt;head&gt;
          &lt;link href="css/centering" rel="stylesheet" type="text/css"/&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div style="centerClass"&gt;
              &lt;mycc:logpass/&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>there is no this error message. Why?</p>