Jump to content

XML decoding bug


totoer

Recommended Posts

Hello team, first time poster here.

 

 

I wanted to submit a bug report: I noticed that games with a ' or a & in their title do not show up in the wheel.

More specifically, it's related to entities in XML database files, and the bug is specific to the Android version, the games show up fine in Windows.

 

Here are 2 examples that happen to be right next to each other:

	<game name="Yoshi Touch & Go (USA)" index="" image="">
		<description>Yoshi Touch & Go</description>
		<cloneof></cloneof>
		<crc></crc>
		<manufacturer></manufacturer>
		<year></year>
		<genre></genre>
		<rating>Other - NR (Not Rated)</rating>
		<enabled>Yes</enabled>
	</game>
	<game name="Yoshi's Island DS (USA) (Rev 1)" index="" image="">
		<description>Yoshi's Island DS</description>
		<cloneof></cloneof>
		<crc></crc>
		<manufacturer></manufacturer>
		<year></year>
		<genre></genre>
		<rating>Other - NR (Not Rated)</rating>
		<enabled>Yes</enabled>
	</game>

I'm using the version available on the Play Store on a MatriMax iPlay.

Package Information
Version Code : 4
Version Name : "0.1.3"
Installed : July 27, 2015
Target SDK : 21
Android version: 4.4.2
Kernel version: 3.4.66

I hope those informations are sufficient. Thanks a lot, see you soon!

Link to comment
Share on other sites

Yeah, this is related to the open source XML parser being used.

 

The workaround (in most cases) is to replace & with &.   I would expect your case above to work but perhaps there is another issue related to the description or filename.   This problem is worse when using rom-filtering too.  :-(

 

The end goal is for the Android version to just 'deal' with all available data (dbases, themes, video files, etc.)

 

I THINK this bug was noted in the list of known issues....it not, it's 'on the list'...

Link to comment
Share on other sites

Replacing ' with ' does work, but replacing & with & does not. It either crashes HyperSpin, or the game list stops at the first encountered &.

 

Now I can replace & by "and", but then some renaming needs to be done.

 

Either way, I don't want that, I prefer to work with official, unmodified XMLs. I'll wait until a fixed version is available.

 

Thanks for the app!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...