title: The string "--" is not permitted, java project
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10155940/cure-for-the-string-is-not-permitted-within-comments-exception">Cure for ‘The string “--” is not permitted within comments.’ exception?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a Java project to parse and edit XML files.
  When I try to run the project I get the following log message:</p>
  
  <pre>
  The string "--" is not permitted within comments.
  Exception in thread "main" org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246)
  ...
  </pre>
  
  <p>How can I resolve it?</p>