Suggestion: XML Map Guidelines

Suggestions that have been archived.

Moderator: Community Team

Post Reply
genericbob
Posts: 4
Joined: Wed Jan 10, 2007 7:53 pm
Location: Orlando, FL

Suggestion: XML Map Guidelines

Post by genericbob »

Could we came up with some guidelines for the map XML to make them more consistent and allow better tools to be created?

The reason I ask is because of instances like http://www.conquerclub.com/forum/viewto ... highlight=
which I had found previously.

And also the new King of the Mountains map has non-unique continent names which may foul up any future tools or mapping visualizations.
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post by lackattack »

The USApocalypse already introduced non-unique continent names. The game engine knows to amalgate non-unique bonuses into one log entry.

As for the inconsistencies, the XML checker at http://www.conquerclub.com/mapmaker should catch serious errors but as you pointed out some may slip through. We could use a formal XML schema or data definition to validate against.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

I have created an .xsd schema file that you can use to validate any xml schemas against...

C.
Image
Highest score : 2297
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post by lackattack »

Right, it was you! I meant to ask you for permission to use it. Or did I? I'm sending you a PM...
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

lackattack wrote:Right, it was you! I meant to ask you for permission to use it. Or did I? I'm sending you a PM...


I've replied - I will get it to you to use on Monday - feel free to use as you please...

I have Altova's XML Spy at work and it means I can point an XML at the schema and it will tell me if there are any structure problems.

C.
Image
Highest score : 2297
Post Reply

Return to “Archived Suggestions”