We are continously getting invalid xml errors from api searches because there is plain html included in the xml response. Here is the most recent example:
http://www.thetvdb.com/api/GetSeries.ph ... iesname=tv(opening that link with google chrome shows the error in a big red box)
In the hope that there are only a few cases I have been manually updating the descriptions of the offending shows by removing all html-like tags, but it seems that this is an uphill battle and people continue to paste new descriptions with html tags.
My API client is not even using the description at all, but still the xml parser chokes on the invalid xml.
Would it be possible to at least add a quickfix for this such as using strip_tags() like suggested here:
viewtopic.php?f=17&t=8262or to simply wrap the content of the Overview element in cdata blocks like this:
<Overview><![CDATA[
...
]]></Overview>
?
Thanks, Til