title: Carriage returns in XML comment: "The content of elements must consist of well-formed character data or markup"
body: <p>I have the following Ant build file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project default="build" name="MyAntScript"&gt;
  
      &lt;!--
      A comment explaining
      the ant file going over
      multiple lines
      like this
      quite poetic, huh?
      --&gt;
  
      &lt;import file="myant.xml" /&gt;
      ...
  &lt;/project&gt;
  </code></pre>
  
  <p>When viewing this file in Eclipse and when running my Ant script, it gives me the following error message</p>
  
  <pre><code>      c:\myant.xml:6: The content of elements must consist of well-formed
        character data or markup.
  </code></pre>
  
  <p>The error goes away if I turn the XML comment into a single line (<em>edit</em>: and comes back when I put the newline back in...). What gives??</p>
  
  <hr>
  
  <p><em><strong>Edit</em></strong> The problem was in the imported ant file..Eclipse had an issue where it marked line 6 in the main Ant build file rather than the imported build file.</p>