title: Failed to read schema document [XSD] because
body: <p>I am getting the following error message:</p>
  
  <blockquote>
    <p>Failed to read schema document
    'ofbiz.apache.org/dtds/widget-screen.xsd', because 1) could not find
    the document; 2) the document could not be read; 3) the root element
    of the document is not <code>&lt;xsd:schema&gt;</code>.</p>
  </blockquote>
  
  <p>I have got a XML file as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE xml&gt;
  &lt;screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"&gt;
      &lt;screen name="ShippingAgreement"&gt;
          &lt;section&gt;
              &lt;actions&gt;
                  &lt;set field="selectedMenuItem" value="facilityShipment"/&gt;
                  &lt;set field="selectedSubMenuItem" value="ShippingContract"/&gt;
              &lt;/actions&gt;
              &lt;widgets&gt;
                  &lt;decorator-screen name="DelysCommonDecorator" location="${parameters.mainDecoratorLocation}"&gt;
                      &lt;decorator-section name="body"&gt;
  
                      &lt;/decorator-section&gt;
                  &lt;/decorator-screen&gt;
              &lt;/widgets&gt;
         &lt;/section&gt;
      &lt;/screen&gt;
  &lt;/screens&gt;
  </code></pre>
  
  <p>Why can't I validate it against XSD file <a href="http://ofbiz.apache.org/dtds/widget-screen.xsd" rel="nofollow">http://ofbiz.apache.org/dtds/widget-screen.xsd</a>?</p>