XML Load Error
Failed loading
File: unitinfos.xml
Reason: element content is invalid according to the DTD/Schema
Expecting: bQuickCombat
Line: 29,21
Source: bRivalterritory
So I know where the error is: line 29,21 (notepad++ numbers the lines which is another good reason to use it) of the unitinfos.xml.
The Schema defines all the tags and their order for the XML, there is a Schema.xml in each of the XML folders, so there is one in the Unit folder another in the Technologies folder and so on.
And I know what the error is:
It's expecting to find a tag bQuickCombat but is getting bRivalterritory, so it fails loading.
The reason is: Wrong UnitInfos.xml file. BTS unitinfos.xml has a bQuickCombat tag which vanilla does not.
The XML file you have copied and pasted is from Firaxis Games\Sid Meier's Civilization 4\Assets\XML\Units
instead of Firaxis Games\Sid Meier's Civilization 4
\Beyond the Sword\Assets\XML\Units
to make a mod for BTS you need to copy files from the BTS folder.
It is useful to know that
only the XMl that has superseded previous files are in the Assets folders of Warlords and BTS (the same is true for our Mods).
Therefore the game loads xml from BTS first, it will then look in Warlords and load what is there and
not in BTS, then Vanilla and load what is there and
not in Warlords.
When we are looking for a specific XML file to copy, paste and modify we need to do the same.