Conquer Club

Conquer Club Map Maker

Test XML for Errors

What does this tool check for?

The XML Checker performs 3 tests on a map XML file. First, it checks that the file contains well-formed XML, searching for mistakes like unclosed tags or improperly nested tags (e.g. <a><b></a></b>). Then it valdates the XML syntax against a Relax NG schema, which is a set of rules that describes which tags are allowed and where. Finally it checks the semantics of the XML, specifically for the following errors and warnings:

Warning: No other countries border on X (it cannot be conquered)
Warning: Territory X has no borders
Error: Territory X has border Y which does not exist as a territory
Warning: Territory X has border Y, but not vice versa
Error: Territory X borders on itself
Error: Territory X has mutiple border entries for Y
Error: Territory X has bombardment Y which does not exist as a territory
Error: Territory X bombards itself
Error: Territory X has mutiple bombardment entries for Y
Error: Territory X has mutiple entries
Warning: No continents found
Error: Continent X has component Y which does not exist as a territory
Error: Continent X has mutiple component entries for Y
Error: Continent X has component Y which has not been previously defined as a continent
Error: Continent X has itself as a component
Error: Continent X has required amount higher than number of components
Error: Continent X has override Y which does not exist as a continent
Error: Continent X has mutiple override entries for Y
Error: Continent X overrides itself
Error: Objective X has component Y which does not exist as a territory
Error: Objective X has mutiple component entries for Y
Error: Reinforcement X - Y has lower limit greater than upper limit
Error: Reinforcement X - Y has divisor of zero
Error: Position X has component Y which does not exist as a territory
Error: Position X has component Y with zero starting armies
Error: Mutiple positions contain component X

 

Map Inspect
Size of this Map
Army Quantity
Player Colours (Hex RGB)












What does this tool do?

Map Inspect previews what the map would look like with armies on it and helps you visualize how it would play.

You can hover over a territory on the map to display information on that territory and its neighbours in the "Map Inspect" bar. The neighbours are also highlighted on the map itself using the symbols below:

Selected territory attacks and is attacked by the highlighted territory.
Selected territory attacks the highlighted territory.
Selected territory attacked by the highlighted territory.
Selected territory bombards and is bombarded by the highlighted territory.
Selected territory bombards the highlighted territory.
Selected territory bombarded by the highlighted territory.

Map Inspect will also print out a text version of the map and summaries for continents, neutral territory & starting positions, objectives, reinforcements.

Hover over the name of the Continent in the "Continents Overview" to be shown the contents of that Continent on the map.

In the summaries that are displayed each territory name is individually clickable and this will make the inspector to jump to the map and highlight that territory. Each Territory is displayed along with any Territory Bonuses depicted in Square brackets [2], any Neutral Starting values depicted in Angle Brackets <2> and any Starting Position values depicted in Curly Braces {2}. (Note: these are only shown if applicable)

The "Objective Summary" details the Objectives of the map. Click the name of the Objective to jump to the map and the territories will be highlighted on the map.

The "Neutral Territories & Starting Positions Summary" details any territories that start neutral and any territories that are set to be Starting Positions. Click "Normal Starts" to be shown all territories that will be randomly assigned at the beginning of the game. Click "Neutral Starts" to be shown all territories that will start as Neutral at the beginning of the game. Click "Position_X" to be shown all territories that apply to that particular starting position.

The "Reinforcements Summary" details any modification to the Reinforcement matrix that is present in the XML (Note: if there are no changes then this will not be shown)

The "Text Map" details all Continents of the map. Click the name of the Continent to jump to the map and the territories will be highlighted on the map. Each Continents bonus amount is depicted in brackets (2) and it's number of required components are depicted in pipes | 2 | and has it's territories and/or sub continents listed below it. Each Territory shows it's specified borders, listed after the ==>, and bombardments, listed after the __>. Below the Territory list is a list of Overrides for this continent click these to be shown the contents of the overriden continent. At the end of the Text map any territories not part of a continent are summarised under the heading "No Continent".