XML_BADEXCHAR
Unknown character &xxx;
Fanuc · R-30iA R-30iB Controller
What does XML_BADEXCHAR mean?
This fault arises when an unrecognized or invalid XML entity reference (e.g., &xxx;) is encountered in the XML file. Valid entity references are either predefined (e.g., <, &) or declared in a DTD/schema, and unknown ones stop parsing.
Common Causes
- An XML entity reference (e.g., <) is malformed or uses an unrecognized name.
- The XML file contains an unknown character encoding reference.
- A typo in the entity name within the reference.
- The parser does not recognize the specified character entity.
Repair Steps & Checklist
Click steps to track your progress.
- 1
Replace the unknown entity reference with its corresponding character or a valid entity.
- 2
Ensure all entity references in the XML file are properly defined and formatted (e.g., &name;).
- 3
Verify that the entity names used are standard XML entities or custom entities defined elsewhere.
- 4
Correct any typos in the entity names.
- 5
If custom entities are used, ensure their definitions are accessible to the parser.
Verified technical data. Last updated: March 2026
Related Faults
Source: Fanuc R-30iA R-30iB Controller