Page 1 of 1

Suggestion: XML Map Guidelines

PostPosted: Thu Mar 22, 2007 4:13 pm
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.

PostPosted: Thu Mar 22, 2007 10:19 pm
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.

PostPosted: Fri Mar 23, 2007 11:50 am
by yeti_c
I have created an .xsd schema file that you can use to validate any xml schemas against...

C.

PostPosted: Fri Mar 23, 2007 1:02 pm
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...

PostPosted: Fri Mar 23, 2007 2:50 pm
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.