God-Emperor
Deity
It looks like Civcheck doesn't like comments in the XML. They really seem to mess it up.
I think the problem is that a comment tag has no closing tag and is not set up like a tag that doesn't need one (i.e. it is just "<!--X -->", not "<!-- X --/>", and there is no corresponding "</!-- X -->") so it somehow thinks it is one level deeper than it is (with the comment as the parent tag) and stops looking for the right tags for definitions.
Example: In Final Frontier Plus many of the buildings are numbered in the BuildingInfo like so:
This makes it fail to load the BUILDING_THE_ARSENAL definition (which it should because it is in a Type tag inside a BuildingInfo, as defined in the .config file). It complains that this is an unused tag in this file at this location. Comments apparently count as a new level of child for the current parent, and the parent of all that follows it thereby making it think the Type tag is a child of the "!-- 64 --" tag instead of the BuildingInfo tag and since the .config file has no add_define of a child tag for "!-- 64 --", it doesn't get defined.
That's my guess, anyway.
I think the problem is that a comment tag has no closing tag and is not set up like a tag that doesn't need one (i.e. it is just "<!--X -->", not "<!-- X --/>", and there is no corresponding "</!-- X -->") so it somehow thinks it is one level deeper than it is (with the comment as the parent tag) and stops looking for the right tags for definitions.
Example: In Final Frontier Plus many of the buildings are numbered in the BuildingInfo like so:
Code:
<BuildingInfo><!-- 64 -->
<BuildingClass>BUILDINGCLASS_THE_ARSENAL</BuildingClass>
<Type>BUILDING_THE_ARSENAL</Type>
That's my guess, anyway.