Closed petrockblog closed 11 years ago
Filename, system and scraping mode?
That looks really weird, as in the xml source aint right for some reason.
When you query thegamesdb.net with that title, they return invalid XML at the position mentioned in the traceback, a unescaped "<>". http://thegamesdb.net/api/GetGame.php?name=Boxing%20Legends%20of%20the%20Ring
Yep, it's exactly that. There's some malformed XML on the 3rd result (element tags (<>) on the description).
I just added a quick check to skip the game if the source data is malformed, but it needs to be fixed on TheGamesDB (afaik, it's an open database, it shouldn't be hard to do). I'll commit the changes in a few minutes.
I'll also check the API and see if I can limit the results (since I'm just using the first result anyway). The game that's causing the problem is "Slam - Shaq Vs. The Legends" so a simple "malformed xml, please check the database" won't be of any help.
Changes commited.
Apparently there's no method to limit the results via API, so for now I'm just showing an error informing there's malformed XML and providing the URL where the error is.
I also fixed it from the source, I just removed the line that was causing the trouble.
Someone should report this to TheGamesDB though. I honestly don't know why they're not escaping those characters. Hopefully that's the only game.
Closed.
Great, thanks a lot!
I get the following error with this rom: