Map Making Help - SAXParseException



  • Hey all,

    I was hoping to get some help making my map. I have created a small 3 territory map for testing purposes with 2 factions (Germans and British). I have saved my XML file in the 'games' folder. When I open Triple A and click on the 'Select Map' button I get the following error.

    triplea.engine.version.bin:1.9
    SAXParseException: game: Test, line: 89, column: 26, error: Element type "attatchmentList" must be declared.
    SAXParseException: game: Test, line: 90, column: 157, error: Element type "attatchment" must be declared.
    SAXParseException: game: Test, line: 101, column: 156, error: Element type "attatchment" must be declared.
    SAXParseException: game: Test, line: 104, column: 161, error: Element type "attatchment" must be declared.
    SAXParseException: game: Test, line: 108, column: 161, error: Element type "attatchment" must be declared.
    SAXParseException: game: Test, line: 143, column: 8, error: The content of element type "game" must match "(info,loader,triplea?,diceSides?,map,resourceList?,playerList,unitList?,relationshipTypes?,territoryEffectList?,gamePlay,production?,technology?,attachmentList?,initialize?,propertyList?)".

    Please note the map name is called "Test".

    Does anyone here know how to decipher this coding? I am sincerely interested in learning so I can continue my map making.

    Thanks,

    Vonn


  • Admin

    @VonnVary It appears that you potentially started creating the map with an older version of TripleA as you need to make sure in the XML that its "attachment" instead of "attatchment". Here is a list of potentially changes you need to fix when upgrading to TripleA 1.9: https://github.com/triplea-game/triplea/wiki/Upgrade-Maps-Information

    If you still see errors after fixing that then feel free to post your XML for us to look at.