title: Warning: simplexml_load_string(): Entity: line 49: parser error : Double hyphen within comment magento
body: <p>I am trying to create a extension with name Kz_Gridlayout. Everything is working but when I try to run SQL by setup.php I get following error. my extension run fine on windows but not working on ubuntu.</p>
  
  <pre><code>Warning: simplexml_load_string(): Entity: line 49: parser error : Double hyphen within comment: &lt;!-- &lt;customer_account&gt;
  
  &lt;!  in /var/www/myproject/src/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
  
  #0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...', '/var/www/myproj...', 444, Array)
  #1 /var/www/myproject/src/app/code/core/Mage/Core/Model/Layout/Update.php(444): simplexml_load_string('getFileLayoutUpdatesXml('frontend', 'default', 'mobileshoppe', '4')
  #3 /var/www/myproject/src/app/code/core/Mage/Core/Model/Layout/Update.php(347): Mage_Core_Model_Layout_Update-&gt;fetchFileLayoutUpdates()
  #4 /var/www/myproject/src/app/code/core/Mage/Core/Model/Layout/Update.php(246): Mage_Core_Model_Layout_Update-&gt;fetchPackageLayoutUpdates('default')
  #5 /var/www/myproject/src/app/code/core/Mage/Core/Model/Layout/Update.php(224): Mage_Core_Model_Layout_Update-&gt;merge('default')
  #6 /var/www/myproject/src/app/code/core/Mage/Core/Controller/Varien/Action.php(306): Mage_Core_Model_Layout_Update-&gt;load()
  #7 /var/www/myproject/src/app/code/core/Mage/Cms/Helper/Page.php(109): Mage_Core_Controller_Varien_Action-&gt;loadLayoutUpdates()
  #8 /var/www/myproject/src/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page-&gt;_renderPage(Object(Mage_Cms_IndexController), 'home')
  #9 /var/www/myproject/src/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page-&gt;renderPage(Object(Mage_Cms_IndexController), 'home')
  #10 /var/www/myproject/src/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Cms_IndexController-&gt;indexAction()
  #11 /var/www/myproject/src/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action-&gt;dispatch('index')
  #12 /var/www/myproject/src/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard-&gt;match(Object(Mage_Core_Controller_Request_Http))
  #13 /var/www/myproject/src/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front-&gt;dispatch()
  #14 /var/www/myproject/src/app/Mage.php(683): Mage_Core_Model_App-&gt;run(Array)
  #15 /var/www/myproject/src/index.php(93): Mage::run('', 'store')
  #16 {main}
  </code></pre>
  
  <p>here is my XML file</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Kz_Gridlayout&gt;
              &lt;version&gt;0.1.0&lt;/version&gt;    
          &lt;/Kz_Gridlayout&gt;
      &lt;/modules&gt;
      &lt;frontend&gt;
          &lt;routers&gt;
              &lt;gridlayout&gt;
                  &lt;use&gt;standard&lt;/use&gt;
                  &lt;args&gt;
                      &lt;module&gt;Kz_Gridlayout&lt;/module&gt;
                      &lt;frontName&gt;gridlayout&lt;/frontName&gt;
                  &lt;/args&gt;
              &lt;/gridlayout&gt;
          &lt;/routers&gt;
      &lt;/frontend&gt;
      &lt;global&gt;
           &lt;models&gt;
              &lt;gridlayout&gt;
                  &lt;class&gt;Kz_Gridlayout_Model&lt;/class&gt;
                  &lt;resourceModel&gt;gridlayout_mysql4&lt;/resourceModel&gt;
              &lt;/gridlayout&gt;
              &lt;gridlayout_mysql4&gt;
                  &lt;class&gt;Kz_Gridlayout_Model_Mysql4&lt;/class&gt;
                  &lt;entities&gt;
                      &lt;gridlayout&gt;
                          &lt;table&gt;gridlayout&lt;/table&gt;
                      &lt;/gridlayout&gt;
                  &lt;/entities&gt;
              &lt;/gridlayout_mysql4&gt;
          &lt;/models&gt; 
           &lt;resources&gt;
              &lt;gridlayout_setup&gt;
                  &lt;setup&gt;
                      &lt;module&gt;Kz_Gridlayout&lt;/module&gt;
                      &lt;class&gt;Kz_Gridlayout_Model_Resource_Mysql4_Setup&lt;/class&gt;
                  &lt;/setup&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_setup&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/gridlayout_setup&gt;
              &lt;gridlayout_write&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_write&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/gridlayout_write&gt;
              &lt;gridlayout_read&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_read&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/gridlayout_read&gt;
          &lt;/resources&gt; 
          &lt;blocks&gt;
              &lt;gridlayout&gt;
                  &lt;class&gt;Kz_Gridlayout_Block&lt;/class&gt;  
              &lt;/gridlayout&gt;
          &lt;/blocks&gt;
          &lt;helpers&gt;
              &lt;gridlayout&gt;
                  &lt;class&gt;Kz_Gridlayout_Helper&lt;/class&gt; 
  
              &lt;/gridlayout&gt;
          &lt;/helpers&gt;
      &lt;/global&gt;
        &lt;adminhtml&gt;
          &lt;menu&gt;
              &lt;gridlayout module="gridlayout"&gt;
                   &lt;title&gt;Grid Layout&lt;/title&gt;
                  &lt;sort_order&gt;81&lt;/sort_order&gt;              
                  &lt;children&gt;
                      &lt;items module="gridlayout"&gt;
                          &lt;title&gt;Manage Grid Layout&lt;/title&gt;
                          &lt;sort_order&gt;0&lt;/sort_order&gt;
                      &lt;action&gt;gridlayout/adminhtml_gridlayout&lt;/action&gt;
                      &lt;/items&gt;
                  &lt;/children&gt; 
              &lt;/gridlayout&gt;
          &lt;/menu&gt;
  
          &lt;layout&gt;
              &lt;updates&gt;
                  &lt;gridlayout&gt;
                      &lt;file&gt;gridlayout.xml&lt;/file&gt;
                  &lt;/gridlayout&gt;
              &lt;/updates&gt;
          &lt;/layout&gt;
      &lt;/adminhtml&gt; 
  &lt;/config&gt;
  </code></pre>