title: Notepad++ validating XML against local DTD
body: <p>I have an XML file that I'm trying to validate against a DTD (in the same local folder as the XML). The XML checks out as well-formed, but every attempt to validate against the DTD in notepad++ leads to an "unable to load the DTD PresidentsDTD.dtd" error. Any idea what I need to do to get this working?</p>
  
  <p>XML file:</p>
  
  <pre><code>&lt;?xml version="1.0" standalone="no"?&gt;
  &lt;!DOCTYPE LIST SYSTEM "PresidentsDTD.dtd"&gt;
  
  &lt;LIST&gt;
  &lt;PRESIDENT id="01" gender="male" name="GeorgeWashington"&gt;
      &lt;NAME&gt;
          &lt;FIRST&gt;George&lt;/FIRST&gt;
          &lt;MIDDLE /&gt;
          &lt;LAST&gt;Washington&lt;/LAST&gt;
      &lt;/NAME&gt;
      &lt;TERM count="2"&gt;
          &lt;TERMSTART&gt;1789&lt;/TERMSTART&gt;
          &lt;TERMEND&gt;1797&lt;/TERMEND&gt;
          &lt;TERML unit="years"&gt; 8  &lt;/TERML&gt;
      &lt;/TERM&gt;
      &lt;PARTY&gt;N/A&lt;/PARTY&gt;
      &lt;HOMESTATE&gt;Virginia&lt;/HOMESTATE&gt;
  &lt;/PRESIDENT&gt;
  
  &lt;PRESIDENT id="02" gender="male" name="JohnAdams"&gt;
      &lt;NAME&gt;
          &lt;FIRST&gt;John&lt;/FIRST&gt;
          &lt;MIDDLE /&gt;
          &lt;LAST&gt;Adams&lt;/LAST&gt;
      &lt;/NAME&gt;
      &lt;TERM count="2"&gt;    
          &lt;TERMSTART&gt;1797&lt;/TERMSTART&gt;
          &lt;TERMEND&gt;1801&lt;/TERMEND&gt;
          &lt;TERML unit="years"&gt; 8  &lt;/TERML&gt;
      &lt;/TERM&gt;
      &lt;PARTY&gt;Federalist&lt;/PARTY&gt;
      &lt;HOMESTATE&gt;Massachusetts&lt;/HOMESTATE&gt;
  &lt;/PRESIDENT&gt;
  
  &lt;PRESIDENT id="03" gender="male" name="ThomasJefferson"&gt;
      &lt;NAME&gt;
          &lt;FIRST&gt;Thomas&lt;/FIRST&gt;
          &lt;MIDDLE /&gt;
          &lt;LAST&gt;Jefferson&lt;/LAST&gt;
      &lt;/NAME&gt;
      &lt;TERM count="2"&gt;
          &lt;TERMSTART&gt;1801&lt;/TERMSTART&gt;
          &lt;TERMEND&gt;1809&lt;/TERMEND&gt;
          &lt;TERML unit="years"&gt; 8  &lt;/TERML&gt;
      &lt;/TERM&gt;
      &lt;PARTY&gt;Republican-Democrat&lt;/PARTY&gt;
      &lt;HOMESTATE&gt;Virginia&lt;/HOMESTATE&gt;
  &lt;/PRESIDENT&gt;
  
  &lt;PRESIDENT id="07" gender="male" name="AndrewJackson"&gt;
      &lt;NAME&gt;
          &lt;FIRST&gt;Andrew&lt;/FIRST&gt;
          &lt;MIDDLE /&gt;
          &lt;LAST&gt;Jackson&lt;/LAST&gt;
      &lt;/NAME&gt;
      &lt;TERM count="2"&gt;
          &lt;TERMSTART&gt;1829&lt;/TERMSTART&gt;
          &lt;TERMEND&gt;1837&lt;/TERMEND&gt;
          &lt;TERML unit="years"&gt; 8  &lt;/TERML&gt;
      &lt;/TERM&gt;
      &lt;PARTY&gt;Democrat&lt;/PARTY&gt;
      &lt;HOMESTATE&gt;Tennesee&lt;/HOMESTATE&gt;
  &lt;/PRESIDENT&gt;
  
  &lt;PRESIDENT id="09" gender="male" name="WilliamHenryHarrison"&gt;
      &lt;NAME&gt;
          &lt;FIRST&gt;William&lt;/FIRST&gt;
          &lt;MIDDLE&gt;Henry&lt;/MIDDLE&gt;
          &lt;LAST&gt;Harrison&lt;/LAST&gt;
      &lt;/NAME&gt;
      &lt;TERM count="1"&gt;
          &lt;TERMSTART&gt;1841&lt;/TERMSTART&gt;
          &lt;TERMEND&gt;1841&lt;/TERMEND&gt;
          &lt;TERML unit="months"&gt; 1 &lt;/TERML&gt;
      &lt;/TERM&gt;
      &lt;PARTY&gt;Whig&lt;/PARTY&gt;
      &lt;HOMESTATE&gt;Ohio&lt;/HOMESTATE&gt;
  &lt;/PRESIDENT&gt;
  
  &lt;PRESIDENT id="15" gender="male" name="AbrahamLincoln"&gt;
      &lt;NAME&gt;
          &lt;FIRST&gt;Abraham&lt;/FIRST&gt;
          &lt;MIDDLE /&gt;
          &lt;LAST&gt;Lincoln&lt;/LAST&gt;
      &lt;/NAME&gt;
      &lt;TERM count="2"&gt;
          &lt;TERMSTART&gt;1861&lt;/TERMSTART&gt;
          &lt;TERMEND&gt;1865&lt;/TERMEND&gt;
          &lt;TERML unit="years"&gt; 4  &lt;/TERML&gt;
      &lt;/TERM&gt;
      &lt;PARTY&gt;Republican&lt;/PARTY&gt;
      &lt;HOMESTATE&gt;Illinois&lt;/HOMESTATE&gt;
  &lt;/PRESIDENT&gt;
  &lt;/LIST&gt;
  </code></pre>
  
  <p>My PresidentsDTD.dtd file (Still returning an error in line 2 for some reason):</p>
  
  <pre><code>&lt;!DOCTYPE LIST[
  &lt;!ELEMENT LIST PRESIDENT+&gt;
  &lt;!ELEMENT PRESIDENT (NAME, TERM, PARTY, HOMESTATE)&gt;
  &lt;!ATTLIST PRESIDENT id ID #REQUIRED&gt;
  &lt;!ATTLIST PRESIDENT gender (male | female) #IMPLIED&gt;
  &lt;!ATTLIST PRESIDENT name CDATA #IMPLIED&gt;
  &lt;!ELEMENT NAME (FIRST, MIDDLE?, LAST)&gt;
  &lt;!ELEMENT TERM (TERMSTART, TERMEND, TERMLENGTH)&gt;
  &lt;!ATTLIST TERM count CDATA #IMPLIED&gt;
  &lt;!ELEMENT FIRST (#PCDATA)&gt;
  &lt;!ELEMENT MIDDLE (#PCDATA)&gt;
  &lt;!ELEMENT LAST (#PCDATA)&gt;
  &lt;!ELEMENT TERMSTART (#PCDATA)&gt;
  &lt;!ELEMENT TERMEND (#PCDATA)&gt;
  &lt;!ELEMENT TERMLENGTH (#PCDATA)&gt;
  &lt;!ATTLIST TERMLENGTH unit (months | years) #IMPLIED&gt;
  ]&gt;
  </code></pre>
  
  <p>Does anyone have a solution for validating against a DTD locally?</p>