I was attempting to add a new civ that I downloaded by cutting and pasting into my mod's XML files. What does it mean when I get the following error message?
"Element content is invalid according to the DTD/Schema"
Some sort of syntax error that needs to be fixed! There should be a line number in the popup or in xml.log.
Which game is this for? I only ask because there are some small differences between them in how the XML is parsed. Things like newlines, tabs/spaces really shouldn't matter.. but sometimes they do. In BtS they may removed these sensitivities, but in civ4, some things can "look" correct, but not work.
In general:
iBoo = integer (can be negative)
bBoo = boolean (True/False)
So lets say you have:
<iBoo>NONE</iBoo>
it would barf since NONE isn't an integer. Don't put too much faith in the checks that are done, they are very basic. I had a unit which upgraded to it's won class. This CTDed the game, once that tech that allowed that unit to be built was discovered
are you cutting/pasting from a mod that is the same version as your own?
It sounds to me like your just missing a tag somewhere.
I had a problem converting a mod from warlords to BtS awhile back, it turns out that the barbarian and minor civs HAVE to be last in the list. Well at least without editing the schema
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.