title: XML parser error: entity not defined in all browsers
body: <p>I wrote a simple XML file and a DTD file including an entity, but when I want to check it in my browsers I get the message:</p>
  
  <p>XML parser error: entity not defined.<br>
  Address: file:///Users/Mike/Documents/fb.xml<br>
  Row 8, column 22</p>
  
  <p>I tried to find an answer, most refer to an add-on problem with Firefox. I, however, get this message on Mac OS X 10.7 with Firefox, Chrome and Safari, and on Windows 7 with Firefox and Chrome. IE does nothing. (Opera on my Mac doesn't give me a message, but it doesn't show the text replacement either.)</p>
  
  <p>Here are my files.<br>
  DTD:  </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!ELEMENT example (some_list) &gt;
  &lt;!ELEMENT some_list (item+)&gt;
  &lt;!ELEMENT item (element1, element2)&gt;
  &lt;!ELEMENT element1 (#PCDATA) &gt;
  &lt;!ELEMENT element2 (#PCDATA) &gt;
  &lt;!ENTITY entity1 "1234567890" &gt;
  </code></pre>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE some_list SYSTEM "Allgemeine_Entities.dtd"&gt;
  &lt;some_list&gt;
      &lt;item&gt;
          &lt;element1&gt;Some Text&lt;/element1&gt;
          &lt;element2&gt;more Text and &amp;entity1;&lt;/element2&gt;
      &lt;/item&gt;
  &lt;/some_list&gt;
  </code></pre>
  
  <p>As the problem appears in all my browsers, I assume it is not a browser specific problem.</p>
  
  <p>Thanks for your input.</p>