XML Error: Open quote is expected for attribute id associated with an element type
<p>I am trying to parse an XML file shown below:</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;!DOCTYPE COUNTRIES_CONTINENT PUBLIC 
           "-//XYZ//DTD Declarations(CountriesContinent)//EN" "dtds/countries_continent.dtd"&gt;
&lt;COUNTRIES_CONTINENT&gt;
   &lt;CONTINENT id="6" name="Oceania" value="12"&gt;
       &lt;COUNTRY name="Argentina"/&gt;
       &lt;COUNTRY name="Bolivia"/&gt;
       &lt;COUNTRY name="Brazil"/&gt;
       &lt;COUNTRY name="Chile"/&gt;
        &lt;COUNTRY name="Colombia"/&gt;
        &lt;COUNTRY name="Ecuador"/&gt;
        &lt;COUNTRY name="Guyana"/&gt;
        &lt;COUNTRY name="Paraguay"/&gt;
        &lt;COUNTRY name="Peru"/&gt;
        &lt;COUNTRY name="Suriname"/&gt;
        &lt;COUNTRY name="Uruguay"/&gt;
        &lt;COUNTRY name="Venezuela"/&gt;
    &lt;/CONTINENT&gt;
&lt;/COUNTRIES_CONTINENT&gt;
</code></pre>

<p>Having the following DTD file:</p>

<pre><code>&lt;!ELEMENT COUNTRIES_CONTINENT (CONTINENT+)&gt;
&lt;!ELEMENT CONTINENT (COUNTRY+)&gt;
&lt;!ELEMENT COUNTRY EMPTY&gt;
&lt;!ATTLIST CONTINENT id  CDATA  ID #REQUIRED&gt;
&lt;!ATTLIST CONTINENT name  CDATA #REQUIRED&gt;
&lt;!ATTLIST CONTINENT value CDATA #REQUIRED&gt;
&lt;!ATTLIST COUNTRY   name CDATA #REQUIRED&gt;
</code></pre>

<p>I am getting the following exception:</p>

<pre><code>Open quote is expected for the attribute "id" associated with an element type "CONTINENT".
</code></pre>

<p>Can anyone point out what is going wrong ?</p>