10

I'm currently trying to set up a new Diplomacy game using jDip, a Java app. Everything seems to look fine, everything follows the way existing variants work, but my "variants.xml" regularly crashes at start-up:

Error Message: XML Validation Fatal Error: line 175:col4:Elementtyp "VARIANTS" must be closed with the end tag "".

I have removed and added indents, switched the order of </variant> and </variants>, used redundant </variant> and </variants> closing tags, but nothing works. All the other "variants.xml" files of other, working variants use exactly the same formatting, so I am at a loss. (I sense that I overlook something really, really stupid, but after a week I still can't see what it is.)

Here is the code: https://pastebin.com/TkQTATqV

I'm currently trying to set up a new Diplomacy game using jDip, a Java app. Everything seems to look fine, everything follows the way existing variants work, but my "variants.xml" regularly crashes at start-up: >Error Message: XML Validation Fatal Error: line 175:col4:Elementtyp &quot;VARIANTS&quot; must be closed with the end tag "". I have removed and added indents, switched the order of </variant> and </variants>, used redundant </variant> and </variants> closing tags, but nothing works. All the other "variants.xml" files of other, working variants use exactly the same formatting, so I am at a loss. (I sense that I overlook something really, really stupid, but after a week I still can't see what it is.) Here is the code: https://pastebin.com/TkQTATqV

4 comments