My text files aren't working

cfkane

Emperor
Joined
Feb 7, 2006
Messages
1,196
For some reason the mod I'm working on can't read the text files. I keep getting a message saying that the opening tag doesn't match the ending tag.

Here's what the text file looks like now:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by lcollins (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Game Text - New -->
<Civ4GameText xmlns="http://www.firaxis.com">

and then the text itself...


</Civ4GameText>

So, what's going on?
 
Not really the right forum, but ...

When it says the opening tag doesn't match the ending tag, it usually means that you've "switched on" something and didn't "switch off", or the other way around.

For instance, if you do this:
<Civ4UnitInfos xmlns="x-schema:CIV4UnitSchema.xml">
<Unitinfos>
<Unitinfo>, <Class>, <Type> etc etc etc for each unit
</Unitinfo>
</Unitinfos>

And that's the end of your file, it will give you that error because you didn't go </civ4unitinfos>. Same thing if you forgot </unitinfo> or like that.

So, probably, you're missing a </TEXT>. Or you put a <TEXT> where a </TEXT> should have been. Or vice-versa.
 
Back
Top Bottom