Jump to content
You need to play a total of 10 battles to post in this section.
keskparane

Questions regarding XML

11 comments in this topic

Recommended Posts

Member
2,221 posts
13,692 battles

I was just wondering if there has been some change in the XML specifications, or if perhaps I just don't understand them correctly, or if WG are using non valid XML?

 

If you look in your preferences.xml file starting around 240 there are element names with @ in them.

 

Why oh why would any sane developer create non-valid XML?

Share this post


Link to post
Share on other sites
Member
2,221 posts
13,692 battles
4 hours ago, Wolvenworks said:

basically junk data?

No. Bad element names. The names are based on user names, eg. <2912337939@wowsasia.loc>

Numbers are valid but not in the first character position. So the name must not start with a number.

@ is simply not valid anywhere in the name.

 

This is as I understand it from reading the XML specifications here. The section on names is here. For reference the @ character hexidecimal value is 0x40

 

 

Share this post


Link to post
Share on other sites
Member
2,221 posts
13,692 battles
7 hours ago, dead_man_walking said:

umn I just looked in my preferences.xml and the only '@' symbol in there is a valid entry as the data for the login element.....

Do you use in-game chat? Pretty sure they all related to user accounts.

Share this post


Link to post
Share on other sites
Member
2,221 posts
13,692 battles
15 hours ago, dead_man_walking said:

can you post up a snippet of what you are talking about?

top level to closure for that section would be good.

Sure. Here are examples.

<root>
	<scriptsPreferences>
		<ui>
			<chatBoxPositionX>
				<ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>	1392.0000	</ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>
				<2012337456@wowsasia.loc>	1734.0000	</2012337456@wowsasia.loc>
				<clan-2000010456@clans.wows.wowsasia.loc>	886.0000	</clan-2000010456@clans.wows.wowsasia.loc>
			</chatBoxPositionX>
			<chatBoxPositionY>
				<ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>	262.0000	</ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>
				<2012337456@wowsasia.loc>	102.0000	</2012337456@wowsasia.loc>
				<clan-2000010456@clans.wows.wowsasia.loc>	222.0000	</clan-2000010456@clans.wows.wowsasia.loc>
			</chatBoxPositionY>
			<chatBoxWidth>
				<2002769456@wowsasia.loc>	462.0000	</2002769456@wowsasia.loc>
				<ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>	462.0000	</ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>
				<prebattle>	593.0000	</prebattle>
			</chatBoxWidth>
			<chatBoxHeight>
				<2002769456@wowsasia.loc>	635.0000	</2002769456@wowsasia.loc>
				<ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>	347.0000	</ids_chat_channel_search_clan_div@standard.wows.wowsasia.loc>
			</chatBoxHeight>
		</ui>
	</scriptsPreferences>
</root>

 

Share this post


Link to post
Share on other sites
Member
2,221 posts
13,692 battles

P.S 

  • The ids have been changed to protect the guilty :Smile_Default:
  • I have tried deleting all the entries just in case they were legacy. They reappear when chat boxes are used. So they are current.

Share this post


Link to post
Share on other sites

×