Avatar image for dbusico
#1 Posted by dbusico (3 posts) -

I have found 2 games that fail to return valid XML on query.

1) Team Fortress 2 - game id 18162

http://api.giantbomb.com/game/18162/?api_key=[API KEY]&format=xml

2) The Beatles: Rock Band - game id 24667

http://api.giantbomb.com/game/24667/?api_key=[API KEY]&format=xml

Avatar image for lordandrew
#2 Posted by LordAndrew (14601 posts) -

Not looking them up right now. Are you able to determine what is invalid about them?

Avatar image for duderbattalion
#3 Posted by DuderBattalion (284 posts) -

Did some validation on the returned XML. Looks like right after the <deck> tag information is retrieved, the <description> tag has a CDATA that does not close:

</deck><description><![CDATA[<h2>The Rundown</h2><p>Team Fortress 2 is a multiplayer, team-based .......

Not sure why though. I guess it's only the top men who can look at their code. Hope this helps identifying the issue quickly.