title: Javascript XML Parsing Error, Unclosed CDATA Section
body: <p>I am using the following lines of javascript to parse an XML string into an XML DOM object:</p>
  
  <pre><code>this._xmlParser = new DOMParser();
  this._xmlDoc = this._xmlParser.parseFromString(txt,"text/xml");
  </code></pre>
  
  <p>My xml string looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;event&gt;
    &lt;id&gt;41717876&lt;/id&gt;
    &lt;start&gt;2011-08-16T10:16&lt;/start&gt;
    &lt;end&gt;2011-08-16T10:16&lt;/end&gt;
    &lt;title&gt;New Calendar Event&lt;/title&gt;
    &lt;location&gt;
      &lt;line&gt;Your location goes here.&lt;/line&gt;
    &lt;/location&gt;
    &lt;description&gt;
      &lt;line&gt;Your description goes here.&lt;/line&gt;
    &lt;/description&gt;
    &lt;!-- %%spider:url%% --&gt;
    &lt;further-info&gt;&lt;![CDATA[ hello&amp;goodbye ]]&gt;&lt;/further-info&gt;
    &lt;tag&gt;all&lt;/tag&gt;
    &lt;url&gt;www.google.com&lt;/url&gt;
  &lt;/event&gt;
  </code></pre>
  
  <p>The CDATA section seems to be well-formed.  Why am I receiving a parser error for an unclosed CDATA section?</p>