2 Games return bad XML on query

Avatar image for dbusico
dbusico

3

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By dbusico

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
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#2  Edited By LordAndrew

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

Avatar image for duderbattalion
duderbattalion

288

Forum Posts

42

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#3  Edited By duderbattalion

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.