Hi Richard, > As I shall be saying in another reply, I suspect it may be possible to > configure XML::LibXML to be more error tolerant.
get_iplayer should fail hard if the XML parser it uses complains as there's no good reason for it to expect poor XML and to recover from errors. If the BBC haven't already been informed that a particular URL serves broken XML then that's the first thing to change, including pointing out the NUL bytes that are causing the problem. I'm sure they'd like to work out what went wrong, and stop it happening again. And it's better that than all those that might attempt to use the XML to work around it. https://tools.ietf.org/html/draft-thomson-postel-was-wrong-01 -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy _______________________________________________ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer