DashDashInComment

Notice! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.

General description of the error:

The format of the error message: The string \"--\" is not permitted within comments.

Error description in schema standard: http://www.w3.org/TR/2004/REC-xml-20...04/#NT-Comment

Possible causes for this error:

  • A comment is not used in a valid way and contains "--". For compatibility, the string "--" (double-hyphen) must not occur within comments. Correct way to mark comments is to insert text between <!-- and -->        
  • Closing part in comment contains three (more more) dashes instead of two 

Example

  <CstmrCdtTrfInitn>
    <!-- GrpdHdr -- starts here -->
    <GrpHdr>

Error message: Fatal Error DashDashInComment : The string "--" is not permitted within comments.

How to fix: This issue can be fixed by removing removing double dash from inside the comment

<CstmrCdtTrfInitn>
    <!-- GrpdHdr starts here -->
    <GrpHdr>