title: XML DTD failling to validate
body: <p>I have an XML file with an external DTD... here is the DTD:</p>
  
  <pre><code>&lt;!ELEMENT slideshow (slide+)&gt;
  &lt;!ELEMENT slide (image,date,time,narrative*,character*)&gt;
  &lt;!ELEMENT image (#PCDATA)&gt;
  &lt;!ELEMENT date (#PCDATA)&gt;
  &lt;!ELEMENT time (#PCDATA)&gt;
  &lt;!ELEMENT narrative (#PCDATA)&gt;
  &lt;!ELEMENT character (name,dialogue*)&gt;
  &lt;!ELEMENT name (#PCDATA)&gt;
  &lt;!ELEMENT dialogue (#PCDATA)&gt;
  &lt;!ATTLIST dialogue name CDATA #IMPLIED&gt;
  </code></pre>
  
  <p>And here is the head of my XML file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!DOCTYPE slideshow SYSTEM "slideshow.dtd"&gt;
  </code></pre>
  
  <p>The XML validates fine against the DTD, however when I validate the DTD in dreamweaver, it is failing to validate with the following errors:</p>
  
  <pre><code>line 1: Expected comment or CDATA[xml] 
  line 3: An exception occurred! Type:EmptyStackException, Message:The element stack is empty[xml]
  </code></pre>
  
  <p>I can't see why this is happening, does anyone know? </p>