Solaris-Skunk-Werks / SSW-Master

Collection of Canon Mechs and Vehicles for SSW.
6 stars 1 forks source link

XML error with malformed sswimage attribute #2

Open EchelonKnight opened 8 months ago

EchelonKnight commented 8 months ago

Two mechs in the SSWMaster report similar issues with the sswimage tag when loading those files directly via the File --> Load Mech menu item. The error for both is shown as: Attribute name "sswimage.." associated with an element type " mech" must be followed by the = character.

Attempting to validate each XML file reveals the following:

Puma (Adder) File: Omnis\Puma (Adder).ssw

Message: '/' is an unexpected token. The expected token is '='. Line 2, position 107.

The XML at Line 2: <mech name="Puma (Adder)" model="" tons="35" omnimech="TRUE" solaris7id="0" solaris7imageid="0" sswimage../Images/No_Image.png">

Summoner (Thor) File: Clan\Omni\Summoner (Thor).ssw

Message: '/' is an unexpected token. The expected token is '='. Line 2, position 110.

XML at Line 2: <mech name="Summoner (Thor)" model="" tons="70" omnimech="TRUE" solaris7id="0" solaris7imageid="0" sswimage../Images/No_Image.png">

Maelwys commented 8 months ago

Which version of SSW and the Master?

EchelonKnight commented 8 months ago

SSW: 0.7.6 SSW Master: updated from repo as of 24/01/2024