[FIXED] Parsing Entity Name Error

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
warhero101
Posts: 7
Joined: Fri Jun 14, 2019 2:29 pm

[FIXED] Parsing Entity Name Error

Post by warhero101 »

Hello, I've been working on a custom scenario for some time now and unfortunately I am no longer able to open it. Every time I try to open it using the scenario editor, I get the same error reading: "An error occurred while parsing EntityName. Line 28, position 26241".

Is there any way that I can fix this, or would I have to recreate the entire scenario from scratch?

Thank you!

Attachments
Stopgap 2022 - Copy.zip
(365.28 KiB) Downloaded 13 times
Dimitris
Posts: 15361
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: Parsing Entity Name Error

Post by Dimitris »

Hi, can you please post here or PM the scenario file so that we may have a look at it. Thanks!
warhero101
Posts: 7
Joined: Fri Jun 14, 2019 2:29 pm

RE: Parsing Entity Name Error

Post by warhero101 »

Thank you for the reply Dimitris! Unfortunately I tried to put the scenario file up but the system told me the file type was unsupported. Would you know a way around this problem?
Dimitris
Posts: 15361
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: Parsing Entity Name Error

Post by Dimitris »

Hi, you have to compress the file to .zip before attaching it to your post.
warhero101
Posts: 7
Joined: Fri Jun 14, 2019 2:29 pm

RE: Parsing Entity Name Error

Post by warhero101 »

I've edited my original comment with the attached scenario file!
MySoulYourBeats
Posts: 2
Joined: Tue Aug 27, 2019 11:46 am

RE: Parsing Entity Name Error

Post by MySoulYourBeats »

Hi,

I also have the problem parsing entity name when I'm making a scenario. I found that the scen. can be loaded only when the two sides are netural to each other, and if they are hostile and have detected enemy units, then you cannot successfully read the scen. file after saving it. It is also the same case for save. file.

Only recently after the last game update did I find the error, and I've only found this post about it on internet, so I guess the error might come out after the last update. I will keep following this post to see whether matrix has solutions to it, or if they will do a quick fix recently.

So if you have seen same or similiar problems, or matrix games have some messages and answers about it, please reply below. Thanks.
Dimitris
Posts: 15361
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: Parsing Entity Name Error

Post by Dimitris »

Hi there,

On the side name for US, Colombia and Equador, you used a character (ampersand) which is invalid for XML. This is generally not recommended, as it can cause parsing problems as you have discovered.

Added an extra check for such characters, and here is a copy of your scenario with the ampersand character replaced by "and" (see attachment). This should load on you without issues, but let us know.

Thanks.
Attachments
Stopgap2022.zip
(365.08 KiB) Downloaded 13 times
warhero101
Posts: 7
Joined: Fri Jun 14, 2019 2:29 pm

RE: Parsing Entity Name Error

Post by warhero101 »

Yes, it works perfectly! Thank you very much for your help.
Post Reply

Return to “Tech Support”