TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Map Making Help - SAXParseException

    Scheduled Pinned Locked Moved Map Making
    2 Posts 2 Posters 1.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VonnVaryV Offline
      VonnVary
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • redrumR Offline
        redrum Admin
        last edited by

        @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.

        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums