XML_COMMENT

Error in comment

Fanuc · R-30iA R-30iB Controller

What does XML_COMMENT mean?

This error indicates that there is a syntax problem within an XML comment block in the file. XML comments must start with <!-- and end with --> and cannot contain the sequence -- within the comment text itself.

Common Causes

  • An XML comment block does not start with '<!--' or end with '-->'.
  • Syntax errors within the content of an XML comment.
  • Incomplete or malformed comment delimiters.
  • The parser interprets comment syntax as actual XML data.

Repair Steps & Checklist

Click steps to track your progress.

  1. 1

    Ensure all XML comments are correctly delimited by '<!--' and '-->'.

  2. 2

    Verify there are no syntax errors within the comment content itself.

  3. 3

    Remove any stray characters before '<!--' or after '-->'.

  4. 4

    Check for nested comments, which are generally not allowed in standard XML.

  5. 5

    Ensure the comment delimiters are placed on the same line or appropriately structured.

Browse all codes in this manual (31)
Verified technical data. Last updated: March 2026

Related Faults

Source: Fanuc R-30iA R-30iB Controller