XML API Feed - invalid content in feeds

 Music Forums Bugs, Questions, & Technical Help XML API Feed - invalid content in feeds  
Post new topicReply to topic Message
mgscox
ubw newbie
ubw newbie



Joined: Apr 29, 2012

Posts: 1

Posted: Sun Apr 29, 2012 2:42 am Reply with quote

Hi
I'm a developer currently looking to utilise the XML API feed. However, the implementation is currently bugged; it appears be putting invalid XML data characters in to the data stream unencoded which causes XML readers to choke. The ampersand (&) character seems to get through the most;
e.g. col 341 of line 62 in this feed;
http://www.unsignedbandweb.com/music/bands/9317/itunes.xml

If you open that link in the chrome browser, for example, you'll see an error reported at the top of the page to this affect.

Wikipedia has a handy reference to characters that should be encoded within XML data elements;
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined%5Fentities%5Fin%5FXML

Note that this isn't limited to the itunes.xml feed for that band, it's a common bug across all XML feeds.
Back to top View user's profile
minusme
Site Admin



Joined: Jan 25, 2004
Location: New York
Posts: 3761

Posted: Sun May 13, 2012 9:49 pm Reply with quote

This has been resolved, thanks for the heads up! Would be interested in hearing about your project.
Back to top View user's profileSend e-mail
Post new topic Reply to topic